Changeset 1339:8d7f68a700d8
- Timestamp:
- 09/09/09 00:54:46 (2 years ago)
- Branch:
- default
- Files:
-
- 5 edited
-
distributions/rPath/libdodo.recipe (modified) (1 diff)
-
trunk/build (modified) (1 diff)
-
trunk/build.options (modified) (1 diff)
-
trunk/configure (modified) (7 diffs)
-
trunk/configure.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
distributions/rPath/libdodo.recipe
r1325 r1339 56 56 57 57 if Use.dl: 58 extraconfig +=' -- enable-dl'58 extraconfig +=' --with-dl' 59 59 60 60 if Use.libxml2: -
trunk/build
r1301 r1339 19 19 } 20 20 21 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre -- enable-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@21 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ 22 22 23 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre -- enable-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick --with-ipc=XSI $@23 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick --with-ipc=XSI $@ 24 24 25 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-fast-cgi --with-pcre -- enable-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@25 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ 26 26 27 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre -- enable-dl --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@27 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ 28 28 29 29 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ 30 30 31 build --disable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre -- enable-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@31 build --disable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ 32 32 33 build --enable-deque --disable-io-xexec --disable-graphics-xexec --disable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre -- enable-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@33 build --enable-deque --disable-io-xexec --disable-graphics-xexec --disable-database-xexec --with-sqlite3 --with-postgresql --with-mysql --with-openssl --with-fast-cgi --with-pcre --with-dl --with-libxml2 --with-bzip2 --with-zlib --with-iconv --with-imagemagick $@ 34 34 35 35 build --enable-deque --enable-io-xexec --enable-graphics-xexec --enable-database-xexec $@ -
trunk/build.options
r1127 r1339 4 4 5 5 #everything enabled 6 ./configure --with-sqlite3 --with-postgresql --with-mysql --with-fast-cgi -- enable-dl --with-libxml2 --with-threading-lib=pthread --with-bzip2 --with-zlib --with-iconv --with-imagemagick --enable-debug --with-pcre --with-bfd --with-openssl --prefix=/opt/libdodo6 ./configure --with-sqlite3 --with-postgresql --with-mysql --with-fast-cgi --with-dl --with-libxml2 --with-threading-lib=pthread --with-bzip2 --with-zlib --with-iconv --with-imagemagick --enable-debug --with-pcre --with-bfd --with-openssl --prefix=/opt/libdodo 7 7 8 8 #everything enabled except xexec actions 9 ./configure --with-sqlite3 --with-postgresql --with-mysql --with-fast-cgi -- enable-dl --with-libxml2 --with-threading-lib=pthread --with-bzip2 --with-zlib --with-iconv --with-imagemagick --enable-debug --with-pcre --with-bfd --with-openssl --prefix=/opt/libdodo --disable-graphics-xexec --disable-database-xexec --disable-io-xexec9 ./configure --with-sqlite3 --with-postgresql --with-mysql --with-fast-cgi --with-dl --with-libxml2 --with-threading-lib=pthread --with-bzip2 --with-zlib --with-iconv --with-imagemagick --enable-debug --with-pcre --with-bfd --with-openssl --prefix=/opt/libdodo --disable-graphics-xexec --disable-database-xexec --disable-io-xexec 10 10 -
trunk/configure
r1337 r1339 1271 1271 --disable-database-xexec 1272 1272 compile data::base:: w/o xexec support 1273 --enable-dl enable dynamic loading1274 1273 --disable-fast-dynamic-loading 1275 1274 do not unload library to produce better performance … … 1278 1277 --disable-graphics-xexec 1279 1278 compile graphics w/o xexec support 1280 --disable-dl-lib disable dl as lib1281 1279 1282 1280 Optional Packages: … … 1293 1291 --with-fast-cgi[=DIR] use fast CGI 1294 1292 --with-pcre[=DIR] use pcre 1293 --with-dl[=DIR] use dynamic loading 1295 1294 --with-libxml2[=DIR] use libxml2 1296 1295 --with-threading-lib[=lib] … … 7440 7439 fi 7441 7440 7442 # Check whether --enable-dl was given. 7443 if test "${enable_dl+set}" = set; then 7444 enableval=$enable_dl; DL="$enableval" 7445 else 7446 DL="no" 7447 fi 7448 7449 if test "$DL" = "yes" 7441 7442 # Check whether --with-dl was given. 7443 if test "${with_dl+set}" = set; then 7444 withval=$with_dl; MOD_DL_DIR="$withval" 7445 else 7446 MOD_DL="no" 7447 fi 7448 7449 if test "$MOD_DL" != "no" -a "$MOD_DL_DIR" != "no" 7450 7450 then 7451 echo -n -e "#define DL_EXT 1\n\n" >> include/libdodo/directives.runtime.h 7451 if test "$MOD_DL_DIR" = "yes" 7452 then 7453 MOD_DL_DIR=/usr 7454 fi 7455 CPPFLAGS="$CPPFLAGS -I$MOD_DL_DIR/include" 7456 LDFLAGS="$LDFLAGS -L$MOD_DL_DIR/lib" 7452 7457 7453 7458 # Check whether --enable-fast-dynamic-loading was given. 7454 7459 if test "${enable_fast_dynamic_loading+set}" = set; then 7455 enableval=$enable_fast_dynamic_loading; DL_FAST="$enableval"7456 else 7457 DL_FAST="yes"7458 fi 7459 7460 7461 if test "$ DL_FAST" = "yes" -a "$OS" = "Linux"7460 enableval=$enable_fast_dynamic_loading; MOD_DL_FAST="$enableval" 7461 else 7462 MOD_DL_FAST="yes" 7463 fi 7464 7465 7466 if test "$MOD_DL_FAST" = "yes" -a "$OS" = "Linux" 7462 7467 then 7463 7468 echo -n -e "#define DL_FAST 1\n\n" >> include/libdodo/directives.runtime.h … … 7467 7472 RESULT="$RESULT\nFast dynamic loading\t\t\t\t\t\tdisabled" 7468 7473 fi 7474 7475 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 7476 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 7477 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 7478 echo $ECHO_N "(cached) $ECHO_C" >&6 7479 else 7480 ac_check_lib_save_LIBS=$LIBS 7481 LIBS="-ldl $LIBS" 7482 cat >conftest.$ac_ext <<_ACEOF 7483 /* confdefs.h. */ 7484 _ACEOF 7485 cat confdefs.h >>conftest.$ac_ext 7486 cat >>conftest.$ac_ext <<_ACEOF 7487 /* end confdefs.h. */ 7488 7489 /* Override any GCC internal prototype to avoid an error. 7490 Use char because int might match the return type of a GCC 7491 builtin and then its argument prototype would still apply. */ 7492 #ifdef __cplusplus 7493 extern "C" 7494 #endif 7495 char dlopen (); 7496 int 7497 main () 7498 { 7499 return dlopen (); 7500 ; 7501 return 0; 7502 } 7503 _ACEOF 7504 rm -f conftest.$ac_objext conftest$ac_exeext 7505 if { (ac_try="$ac_link" 7506 case "(($ac_try" in 7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7508 *) ac_try_echo=$ac_try;; 7509 esac 7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7511 (eval "$ac_link") 2>conftest.er1 7512 ac_status=$? 7513 grep -v '^ *+' conftest.er1 >conftest.err 7514 rm -f conftest.er1 7515 cat conftest.err >&5 7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7517 (exit $ac_status); } && { 7518 test -z "$ac_c_werror_flag" || 7519 test ! -s conftest.err 7520 } && test -s conftest$ac_exeext && 7521 $as_test_x conftest$ac_exeext; then 7522 ac_cv_lib_dl_dlopen=yes 7523 else 7524 echo "$as_me: failed program was:" >&5 7525 sed 's/^/| /' conftest.$ac_ext >&5 7526 7527 ac_cv_lib_dl_dlopen=no 7528 fi 7529 7530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7531 conftest$ac_exeext conftest.$ac_ext 7532 LIBS=$ac_check_lib_save_LIBS 7533 fi 7534 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 7535 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 7536 if test $ac_cv_lib_dl_dlopen = yes; then 7537 LDFLAGS="$LDFLAGS -ldl" 7538 fi 7539 7540 echo -n -e "#define DL_EXT 1\n\n" >> include/libdodo/directives.runtime.h 7469 7541 7470 7542 RESULT="$RESULT\nDynamic linking\t\t\t\t\t\t\tenabled" … … 10293 10365 fi 10294 10366 10295 if test "$CALLSTACK_EX" = "yes" -o "$ DL" = "yes"10367 if test "$CALLSTACK_EX" = "yes" -o "$MOD_DL" != "no" 10296 10368 then 10297 10369 if test "${ac_cv_header_dlfcn_h+set}" = set; then … … 10434 10506 10435 10507 10436 # Check whether --enable-dl-lib was given.10437 if test "${enable_dl_lib+set}" = set; then10438 enableval=$enable_dl_lib; MOD_DL_LIB="$enableval"10439 else10440 MOD_DL_LIB="yes"10441 fi10442 10443 if test "$MOD_DL_LIB" = "yes"10444 then10445 10446 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&510447 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }10448 if test "${ac_cv_lib_dl_dlopen+set}" = set; then10449 echo $ECHO_N "(cached) $ECHO_C" >&610450 else10451 ac_check_lib_save_LIBS=$LIBS10452 LIBS="-ldl $LIBS"10453 cat >conftest.$ac_ext <<_ACEOF10454 /* confdefs.h. */10455 _ACEOF10456 cat confdefs.h >>conftest.$ac_ext10457 cat >>conftest.$ac_ext <<_ACEOF10458 /* end confdefs.h. */10459 10460 /* Override any GCC internal prototype to avoid an error.10461 Use char because int might match the return type of a GCC10462 builtin and then its argument prototype would still apply. */10463 #ifdef __cplusplus10464 extern "C"10465 #endif10466 char dlopen ();10467 int10468 main ()10469 {10470 return dlopen ();10471 ;10472 return 0;10473 }10474 _ACEOF10475 rm -f conftest.$ac_objext conftest$ac_exeext10476 if { (ac_try="$ac_link"10477 case "(($ac_try" in10478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;10479 *) ac_try_echo=$ac_try;;10480 esac10481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&510482 (eval "$ac_link") 2>conftest.er110483 ac_status=$?10484 grep -v '^ *+' conftest.er1 >conftest.err10485 rm -f conftest.er110486 cat conftest.err >&510487 echo "$as_me:$LINENO: \$? = $ac_status" >&510488 (exit $ac_status); } && {10489 test -z "$ac_c_werror_flag" ||10490 test ! -s conftest.err10491 } && test -s conftest$ac_exeext &&10492 $as_test_x conftest$ac_exeext; then10493 ac_cv_lib_dl_dlopen=yes10494 else10495 echo "$as_me: failed program was:" >&510496 sed 's/^/| /' conftest.$ac_ext >&510497 10498 ac_cv_lib_dl_dlopen=no10499 fi10500 10501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \10502 conftest$ac_exeext conftest.$ac_ext10503 LIBS=$ac_check_lib_save_LIBS10504 fi10505 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&510506 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }10507 if test $ac_cv_lib_dl_dlopen = yes; then10508 cat >>confdefs.h <<_ACEOF10509 #define HAVE_LIBDL 110510 _ACEOF10511 10512 LIBS="-ldl $LIBS"10513 10514 else10515 { { echo "$as_me:$LINENO: error: dl lib was not found" >&510516 echo "$as_me: error: dl lib was not found" >&2;}10517 { (exit 1); exit 1; }; }10518 fi10519 10520 LDFLAGS="$LDFLAGS -ldl"10521 fi10522 10508 fi 10523 10509 -
trunk/configure.in
r1337 r1339 445 445 fi 446 446 447 AC_ARG_ENABLE(dl, 448 AS_HELP_STRING([--enable-dl], [enable dynamic loading]), 449 [DL="$enableval"], [DL="no"]) 450 if test "$DL" = "yes" 451 then 452 echo -n -e "#define DL_EXT 1\n\n" >> include/libdodo/directives.runtime.h 447 AC_ARG_WITH([dl], 448 AS_HELP_STRING([--with-dl@<:@=DIR@:>@], [use dynamic loading]), 449 [MOD_DL_DIR="$withval"], [MOD_DL="no"]) 450 if test "$MOD_DL" != "no" -a "$MOD_DL_DIR" != "no" 451 then 452 if test "$MOD_DL_DIR" = "yes" 453 then 454 MOD_DL_DIR=/usr 455 fi 456 CPPFLAGS="$CPPFLAGS -I$MOD_DL_DIR/include" 457 LDFLAGS="$LDFLAGS -L$MOD_DL_DIR/lib" 453 458 454 459 AC_ARG_ENABLE(fast-dynamic-loading, 455 460 AS_HELP_STRING([--disable-fast-dynamic-loading], [do not unload library to produce better performance]), 456 [ DL_FAST="$enableval"], [DL_FAST="yes"])457 458 if test "$ DL_FAST" = "yes" -a "$OS" = "Linux"461 [MOD_DL_FAST="$enableval"], [MOD_DL_FAST="yes"]) 462 463 if test "$MOD_DL_FAST" = "yes" -a "$OS" = "Linux" 459 464 then 460 465 echo -n -e "#define DL_FAST 1\n\n" >> include/libdodo/directives.runtime.h … … 464 469 RESULT="$RESULT\nFast dynamic loading\t\t\t\t\t\tdisabled" 465 470 fi 471 472 AC_CHECK_LIB([dl], [dlopen], [LDFLAGS="$LDFLAGS -ldl"], []) 473 echo -n -e "#define DL_EXT 1\n\n" >> include/libdodo/directives.runtime.h 466 474 467 475 RESULT="$RESULT\nDynamic linking\t\t\t\t\t\t\tenabled" … … 774 782 fi 775 783 776 if test "$CALLSTACK_EX" = "yes" -o "$ DL" = "yes"784 if test "$CALLSTACK_EX" = "yes" -o "$MOD_DL" != "no" 777 785 then 778 786 AC_CHECK_HEADER([dlfcn.h], [], [AC_MSG_ERROR(dlfcn.h header was not found)]) 779 AC_ARG_ENABLE([dl-lib],780 AS_HELP_STRING([--disable-dl-lib], [disable dl as lib]),781 [MOD_DL_LIB="$enableval"], [MOD_DL_LIB="yes"])782 if test "$MOD_DL_LIB" = "yes"783 then784 AC_CHECK_LIB([dl], [dlopen], [], AC_MSG_ERROR(dl lib was not found))785 LDFLAGS="$LDFLAGS -ldl"786 fi787 787 fi 788 788
Note: See TracChangeset
for help on using the changeset viewer.
