Changeset 21376 for main/trunk/gs2build/configure.in
- Timestamp:
- 2009-12-18T14:28:14+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gs2build/configure.in
r21371 r21376 72 72 AC_DEFINE(USE_SQLITE, $USE_SQLITE) 73 73 AC_SUBST(USE_SQLITE) 74 75 dnl 76 dnl Set use of Apache httpd (disabled by default) 77 dnl 78 if test -d runtime-src; then 79 AC_ARG_ENABLE(apache-httpd, [ --enable-apache-httpd Enable Apache httpd support], USE_APACHE_HTTPD=1, USE_APACHE_HTTPD=0) 80 AC_DEFINE(USE_APACHE_HTTPD, $USE_APACHE_HTTPD) 81 AC_SUBST(USE_APACHE_HTTPD) 82 fi 74 83 75 84 dnl … … 229 238 dnl check for -lcrypt: 230 239 AC_HAVE_LIBRARY(crypt) 231 if test $ENABLE_ACCENTFOLD = 1; then232 AC_HAVE_LIBRARY(iconv)233 fi240 #if test $ENABLE_ACCENTFOLD = 1; then 241 #AC_HAVE_LIBRARY(iconv) 242 #fi 234 243 235 244 dnl Checks for header files. … … 292 301 dnl 293 302 AC_LANG_CPLUSPLUS 303 304 dnl 305 dnl Now check that Perl is actually around, and can be found 306 dnl 307 AC_MSG_CHECKING(that Perl 5 is available) 308 success="no" 309 pl_path="$PATH" 310 IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":" 311 for pl_dir in $pl_path; do 312 test -z "$pl_dir" && pl_dir=. 313 if test -x $pl_dir/perl; then 314 success="yes" 315 break 316 fi 317 done 318 IFS="$pl_save_ifs" 319 320 dnl 321 dnl Perl actually can be run; now we see if it is version 5 by 322 dnl running a sample script (which returns a "clean" version number 323 dnl and then tests the result using expr. If perl errors in some 324 dnl way (eg. broken Perl executable, missing script), we set a failure 325 dnl value ("0") and then proceed as best we can 326 dnl 327 if test $success = "yes"; then 328 try=`perl configtest.pl` || try="0" 329 try=`expr $try \> 5.000` 330 if test $try = "1"; then 331 AC_MSG_RESULT("yes") 332 else 333 success="no" 334 fi 335 fi 336 337 if test $success = "no"; then 338 AC_MSG_RESULT("no") 339 AC_MSG_ERROR("Perl 5 not available - cannot install") 340 fi 294 341 295 342 dnl … … 386 433 # indexers needs a bindir option to get the binaries into the right place 387 434 gsdlprefix=`pwd` 388 ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos " 389 AC_CONFIG_SUBDIRS(common-src build-src) 435 ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos --libdir=$gsdlprefix/lib/$gsdlos" 436 AC_CONFIG_SUBDIRS(common-src) 437 AC_CONFIG_SUBDIRS(build-src) 390 438 391 439 # the list of folders in the src folder … … 393 441 build-src/Makefile" 394 442 443 if test -d runtime-src; then 444 AC_CONFIG_SUBDIRS(runtime-src) 445 srclist="$srclist \ 446 runtime-src/Makefile" 447 fi 448 395 449 AC_OUTPUT(Makefile $srclist $moduleDirs) 396 450
Note:
See TracChangeset
for help on using the changeset viewer.