From c2411bef502d2148fe6c5c7cdafbb4da68b030fa Mon Sep 17 00:00:00 2001 From: "drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 11 Feb 2008 20:46:31 +0000 Subject: 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 --- configure | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'configure') 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; -- cgit