summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordrstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b <drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-02-11 20:46:31 +0000
committerdrstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b <drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-02-11 20:46:31 +0000
commitc2411bef502d2148fe6c5c7cdafbb4da68b030fa (patch)
tree623cc29bd38137607ce61687e6ddfc7fdfd9e70d /configure
parenteea393f77fad8f1858fe5a7c5c19d54ca9860dbe (diff)
BUILD : 1.7.21 (1380) BUGS : 864 NOTES : Fixed configure script so it will complain about args.
git-svn-id: svn://svn.anope.org/anope/trunk@1380 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1095 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 7 insertions, 6 deletions
diff --git a/configure b/configure
index 0889416e3..5fbf7cafe 100755
--- a/configure
+++ b/configure
@@ -1259,7 +1259,7 @@ Optional Packages:
--with-rungroup=group Specify the rungroup for anope
--with-permissions=permissions Specify the default permissions for anope
--with-bindir=bindir Specify the default binary dir for anope
- --with-datadir=datadir Specify the location of the services data folder
+ --with-datadir=datadir Specify the location of the services data folder
Some influential environment variables:
CC C compiler command
@@ -1694,12 +1694,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test $# = 0; then
- echo "You might want to run ./Config or provide some parameters to this script."
- echo "./configure --help for information about this script"
- exit 0
+# If no bindir, we tell him to run ./Config.
+if test "${with_bindir+set}" != set || test "${with_datadir+set}" != set; then
+ echo "You might want to run ./Config or provide some parameters to this script."
+ echo "./configure --help for information about this script"
+ exit 0
fi
+
ac_config_headers="$ac_config_headers include/sysconf.h"
ac_ext=c
@@ -8331,7 +8333,6 @@ done
-
# Check whether --with-rungroup was given.
if test "${with_rungroup+set}" = set; then
withval=$with_rungroup;