summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:36:24 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:36:24 (GMT)
commitd4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b (patch)
treec32965e6b0858adc9a1f108b7b4d909568efd52e /configure
parent79bf453de665e12ad859d8e24ddbec7ffbdb8e24 (diff)
downloadDoxygen-d4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b.zip
Doxygen-d4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b.tar.gz
Doxygen-d4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b.tar.bz2
mods for doxygen-0.49-991003
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure66
1 files changed, 40 insertions, 26 deletions
diff --git a/configure b/configure
index 0abdb00..c14212c 100755
--- a/configure
+++ b/configure
@@ -21,10 +21,11 @@ f_shared=YES
f_make=NO
f_perl=NO
f_plf_auto=NO
-f_prefix=/usr/local
+f_prefix=/usr
f_insttool=install
+f_english=NO
-while test -n "$1"; do
+while test -n "$1"; do
case $1 in
--prefix)
shift; f_prefix=$1
@@ -41,6 +42,9 @@ while test -n "$1"; do
--debug)
f_debug=YES
;;
+ --english-only)
+ f_english=YES
+ ;;
--platform)
shift; f_platform=$1
;;
@@ -68,33 +72,35 @@ done
if test "$f_help" = y; then
cat <<EOF
Usage: $0 [--help] [--shared] [--static] [--release] [--debug]
- [--perl name] [--make name] [--platform target] [--prefix]
- [--install]
+ [--perl name] [--make name] [--platform target] [--prefix dir]
+ [--install name] [--english-only]
-Options:
+Options:ll
- --help Print this message
+ --help Print this help
- --shared | --static Build using shared or static linking
- [default: shared]
+ --shared | --static Build using shared or static linking
+ [default: shared]
- --release | --debug Build for release or debug
- [default: release]
+ --release | --debug Build for release or debug
+ [default: release]
- --perl name Use \`name' as the name of the perl interpreter
- [default: autodetect]
+ --perl name Use \`name' as the name of the perl interpreter
+ [default: autodetect]
- --make name Use \`name' as the name of the GNU make tool
- [default: autodetect]
+ --make name Use \`name' as the name of the GNU make tool
+ [default: autodetect]
- --platform target Do not detect platform but use \`target' instead.
- See PLATFORMS for a list of possibilities
+ --platform target Do not detect platform but use \`target' instead.
+ See PLATFORMS for a list of possibilities
- --prefix dir Installation prefix directory
- [default: /usr/local]
+ --prefix dir Installation prefix directory
+ [default: /usr]
- --install name name of the GNU install tool
- [default: install]
+ --install name Use \`name' as the name of the GNU install tool
+ [default: install]
+
+ --english-only Include support for English only.
EOF
test "$f_error" = y && exit 1
@@ -196,11 +202,11 @@ if test -z "$QTDIR"; then
echo "check your Qt installation!"
exit 2
else
- if ! test -d "$QTDIR/lib"; then
+ if test ! -d "$QTDIR/lib"; then
echo "QTDIR is set, but library directory does not exist!"
exit 2
fi
- if ! test -d "$QTDIR/include"; then
+ if test ! -d "$QTDIR/include"; then
echo "QTDIR is set, but include directory does not exist!"
exit 2
fi
@@ -218,8 +224,10 @@ if test "$f_make" = NO; then
for i in $make_names; do
for j in $make_dirs; do
if test -x "$j/$i"; then
- make_prog="$j/$i"
- break 2
+ if test -n "`$j/$i --version 2>/dev/null | grep GNU`"; then
+ make_prog="$j/$i"
+ break 2
+ fi
fi
done
done
@@ -281,18 +289,24 @@ RM = rm -f
VERSION = `cat VERSION`
INSTALL = $f_prefix
INSTTOOL = $f_insttool
-DOXYDOCS = $PWD
+DOXYDOCS = ..
export TMAKEPATH
EOF
touch .tmakeconfig
if test "$f_shared" = NO; then
-cat > .tmakeconfig <<EOF
+ cat >> .tmakeconfig <<EOF
TMAKE_LFLAGS = -static
EOF
fi
+if test "$f_english" = YES; then
+ cat >> .tmakeconfig << EOF
+TMAKE_CXXFLAGS = -DENGLISH_ONLY
+EOF
+fi
+
for i in Makefile.in src/Makefile.in examples/Makefile.in doc/Makefile.in ; do
SRC=$i
DST=`echo $i|sed 's%\(.*\).in$%\1%'`