blob: 8fa391c8090c7f9b058d524d79eaa05411616c8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$FreeBSD$
Hack configure to eat autogenerated qt options and to fix a bashism (type -p).
--- configure.orig Wed Dec 10 03:10:03 2003
+++ configure Wed Jan 7 16:30:11 2004
@@ -81,6 +81,8 @@
shift
;;
--help) show_usage; exit ;;
+ --with-*)
+ shift ;;
*) show_usage; exit ;;
esac
done
@@ -136,7 +138,7 @@
echo Warning: qmake not in \$QTDIR/bin/qmake
echo trying to find it in \$PATH
fi
- qm=`type -p qmake`
+ qm=`which qmake`
if [ -x "$qm" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
echo qmake found in $qm
|