X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure;h=3c3b970a06bb12689a589ab2b682119387f29ffb;hb=33b5e2e3822214b25aa544688a2788086840b7a6;hp=fcfc3339587a2e65a06e614bff01ec293d3b0e34;hpb=bc5e5d4ed7440baeac26adbbeedc5719d9b18dac;p=yaz-moved-to-github.git diff --git a/configure b/configure index fcfc333..3c3b970 100755 --- a/configure +++ b/configure @@ -24,9 +24,9 @@ ac_help="$ac_help ac_help="$ac_help --disable-comp use old encoders, i.e. disable the YAZ ASN.1 Compiler" ac_help="$ac_help - --enable-tcpd[=PREFIX] enable TCP wrapper for server if available" + --enable-tcpd[=PREFIX] enable TCP wrapper for server if available" ac_help="$ac_help - --disable-threads disable threads" + --enable-threads enable POSIX threads" # Initialize some variables set by options. # The variables have the same names as the options, with @@ -2096,7 +2096,7 @@ if test "${enable_tcpd+set}" = set; then : fi -if test "$enable_tcpd" != "no"; then +if test "$enable_tcpd" != ""; then oldLibs=$LIBS oldCPPFLAGS=$CPPFLAGS if test "$enable_tcpd" != "yes"; then @@ -2252,7 +2252,7 @@ if test "${enable_threads+set}" = set; then enableval="$enable_threads" enable_threads=$enableval else - enable_threads=yes + enable_threads=no fi if test "$enable_threads" = "yes"; then @@ -2337,6 +2337,8 @@ EOF echo "$ac_t""no" 1>&6 fi fi + +YAZ_SRC_ROOT=`pwd` SUBDIRS_VAR="util odr $ASNMODULE $ILLMODULE zutil comstack ccl tab retrieval server include lib client ztest" trap '' 1 2 15 @@ -2471,6 +2473,7 @@ lib/Makefile client/Makefile ztest/Makefile doc/Makefile +yaz-config lib/yaz-config" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF @@ -2659,7 +2664,7 @@ cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -chmod +x lib/yaz-config +chmod +x lib/yaz-config yaz-config exit 0 EOF chmod +x $CONFIG_STATUS