summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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;