head 1.19; access; symbols PTH_2_0_7:1.18 PTH_2_0_6:1.16 PTH_2_0_5:1.16 PTH_2_0_4:1.16 PTH_2_0_3:1.14 PTH_2_0_2:1.14 PTH_2_0_1:1.13 PTH_2_0_0:1.12 PTH_2_0b2:1.11 PTH_2_0b1:1.11 PTH_2_0b0:1.11 PTH_1_4:1.8.0.2 PTH_1_4_1:1.8 PTH_1_4_0:1.7 PTH_1_3_7:1.5 PTH_1_4a3:1.6 PTH_1_3_6:1.5 PTH_1_4a2:1.6 PTH_1_3_5:1.5 PTH_1_4a1:1.5 PTH_1_3_4:1.5 PTH_1_3:1.5.0.2 PTH_1_3_3:1.5 PTH_1_3_2:1.5 PTH_1_3_1:1.5 PTH_1_3_0:1.5 PTH_1_3b3:1.5 PTH_1_3b2:1.4 PTH_1_3b1:1.4 PTH_1_3a5:1.4 PTH_1_3a4:1.4 PTH_1_3a3:1.4 PTH_1_3a2:1.4 PTH_1_3a1:1.2; locks; strict; comment @# @; 1.19 date 2007.01.01.18.23.52; author rse; state Exp; branches; next 1.18; commitid 9DhdiirNzQPBIP0s; 1.18 date 2006.06.08.17.54.52; author rse; state Exp; branches; next 1.17; commitid x8N3mLVdQgkbdeAr; 1.17 date 2006.06.08.17.48.23; author rse; state Exp; branches; next 1.16; commitid Vn5qzJmPL5iXaeAr; 1.16 date 2005.02.18.20.36.48; author rse; state Exp; branches; next 1.15; 1.15 date 2004.12.31.19.34.44; author rse; state Exp; branches; next 1.14; 1.14 date 2004.09.12.11.44.25; author rse; state Exp; branches; next 1.13; 1.13 date 2004.07.13.10.50.49; author rse; state Exp; branches; next 1.12; 1.12 date 2003.01.01.15.49.11; author rse; state Exp; branches; next 1.11; 1.11 date 2002.10.24.15.33.47; author rse; state Exp; branches; next 1.10; 1.10 date 2002.10.24.15.21.13; author rse; state Exp; branches; next 1.9; 1.9 date 2002.01.30.12.54.24; author rse; state Exp; branches; next 1.8; 1.8 date 2002.01.27.11.03.40; author rse; state Exp; branches; next 1.7; 1.7 date 2001.03.24.14.51.04; author rse; state Exp; branches; next 1.6; 1.6 date 2000.04.30.09.38.54; author rse; state Exp; branches; next 1.5; 1.5 date 2000.01.29.12.07.07; author rse; state Exp; branches; next 1.4; 1.4 date 99.12.30.21.58.59; author rse; state Exp; branches; next 1.3; 1.3 date 99.11.09.08.11.31; author rse; state Exp; branches; next 1.2; 1.2 date 99.11.03.11.24.13; author rse; state Exp; branches; next 1.1; 1.1 date 99.11.03.09.49.07; author rse; state Exp; branches; next ; desc @@ 1.19 log @Adjusted all copyright messages for new year 2007. @ text @dnl ## dnl ## GNU Pth - The GNU Portable Threads dnl ## Copyright (c) 1999-2007 Ralf S. Engelschall dnl ## dnl ## This file is part of GNU Pth, a non-preemptive thread scheduling dnl ## library which can be found at http://www.gnu.org/software/pth/. dnl ## dnl ## This library is free software; you can redistribute it and/or dnl ## modify it under the terms of the GNU Lesser General Public dnl ## License as published by the Free Software Foundation; either dnl ## version 2.1 of the License, or (at your option) any later version. dnl ## dnl ## This library is distributed in the hope that it will be useful, dnl ## but WITHOUT ANY WARRANTY; without even the implied warranty of dnl ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl ## Lesser General Public License for more details. dnl ## dnl ## You should have received a copy of the GNU Lesser General Public dnl ## License along with this library; if not, write to the Free Software dnl ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 dnl ## USA, or contact Ralf S. Engelschall . dnl ## dnl ## pth.m4: Autoconf macro for locating GNU Pth from within dnl ## configure.ac of third-party software packages dnl ## dnl ## dnl ## Synopsis: dnl ## AC_CHECK_PTH([MIN-VERSION [, # minimum Pth version, e.g. 1.2.0 dnl ## DEFAULT-WITH-PTH [, # default value for --with-pth option dnl ## DEFAULT-WITH-PTH-TEST [,# default value for --with-pth-test option dnl ## EXTEND-VARS [, # whether CFLAGS/LDFLAGS/etc are extended dnl ## ACTION-IF-FOUND [, # action to perform if Pth was found dnl ## ACTION-IF-NOT-FOUND # action to perform if Pth was not found dnl ## ]]]]]]) dnl ## Examples: dnl ## AC_CHECK_PTH(1.2.0) dnl ## AC_CHECK_PTH(1.2.0,,,no,CFLAGS="$CFLAGS -DHAVE_PTH $PTH_CFLAGS") dnl ## AC_CHECK_PTH(1.2.0,yes,yes,yes,CFLAGS="$CFLAGS -DHAVE_PTH") dnl ## dnl dnl # auxilliary macros AC_DEFUN([_AC_PTH_ERROR], [dnl AC_MSG_RESULT([*FAILED*]) m4_define(_ac_pth_line,dnl "+------------------------------------------------------------------------+") echo " _ac_pth_line" 1>&2 cat <>/ /' 1>&2 $1 EOT echo " _ac_pth_line" 1>&2 exit 1 ]) AC_DEFUN([_AC_PTH_VERBOSE], [dnl if test ".$verbose" = .yes; then AC_MSG_RESULT([ $1]) fi ]) dnl # the user macro AC_DEFUN([AC_CHECK_PTH], [dnl dnl dnl # prerequisites AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_CPP])dnl dnl PTH_CPPFLAGS='' PTH_CFLAGS='' PTH_LDFLAGS='' PTH_LIBS='' AC_SUBST(PTH_CPPFLAGS) AC_SUBST(PTH_CFLAGS) AC_SUBST(PTH_LDFLAGS) AC_SUBST(PTH_LIBS) dnl # command line options AC_MSG_CHECKING(for GNU Pth) _AC_PTH_VERBOSE([]) AC_ARG_WITH(pth,dnl [ --with-pth[=ARG] Build with GNU Pth Library (default=]ifelse([$2],,yes,$2)[)],dnl ,dnl with_pth="ifelse([$2],,yes,$2)" )dnl AC_ARG_WITH(pth-test,dnl [ --with-pth-test Perform GNU Pth Sanity Test (default=]ifelse([$3],,yes,$3)[)],dnl ,dnl with_pth_test="ifelse([$3],,yes,$3)" )dnl _AC_PTH_VERBOSE([+ Command Line Options:]) _AC_PTH_VERBOSE([ o --with-pth=$with_pth]) _AC_PTH_VERBOSE([ o --with-pth-test=$with_pth_test]) dnl dnl # configuration if test ".$with_pth" != .no; then _pth_subdir=no _pth_subdir_opts='' case "$with_pth" in subdir:* ) _pth_subdir=yes changequote(, )dnl _pth_subdir_opts=`echo $with_pth | sed -e 's/^subdir:[^ ]*[ ]*//'` with_pth=`echo $with_pth | sed -e 's/^subdir:\([^ ]*\).*$/\1/'` changequote([, ])dnl ;; esac _pth_version="" _pth_location="" _pth_type="" _pth_cppflags="" _pth_cflags="" _pth_ldflags="" _pth_libs="" if test ".$with_pth" = .yes; then # via config script in $PATH changequote(, )dnl _pth_version=`(pth-config --version) 2>/dev/null |\ sed -e 's/^.*\([0-9]\.[0-9]*[ab.][0-9]*\).*$/\1/'` changequote([, ])dnl if test ".$_pth_version" != .; then _pth_location=`pth-config --prefix` _pth_type='installed' _pth_cppflags=`pth-config --cflags` _pth_cflags=`pth-config --cflags` _pth_ldflags=`pth-config --ldflags` _pth_libs=`pth-config --libs --all` fi elif test -d "$with_pth"; then with_pth=`echo $with_pth | sed -e 's;/*$;;'` _pth_found=no # via locally included source tree if test ".$_pth_subdir" = .yes; then _pth_location="$with_pth" _pth_type='local' _pth_cppflags="-I$with_pth" _pth_cflags="-I$with_pth" if test -f "$with_pth/ltconfig"; then _pth_ldflags="-L$with_pth/.libs" else _pth_ldflags="-L$with_pth" fi _pth_libs="-lpth" changequote(, )dnl _pth_version=`grep '^const char PTH_Hello' $with_pth/pth_vers.c |\ sed -e 's;^.*Version[ ]*\([0-9]*\.[0-9]*[.ab][0-9]*\)[ ].*$;\1;'` changequote([, ])dnl _pth_found=yes ac_configure_args="$ac_configure_args --enable-subdir $_pth_subdir_opts" with_pth_test=no fi # via config script under a specified directory # (a standard installation, but not a source tree) if test ".$_pth_found" = .no; then for _dir in $with_pth/bin $with_pth; do if test -f "$_dir/pth-config"; then test -f "$_dir/pth-config.in" && continue # pth-config in source tree! changequote(, )dnl _pth_version=`($_dir/pth-config --version) 2>/dev/null |\ sed -e 's/^.*\([0-9]\.[0-9]*[ab.][0-9]*\).*$/\1/'` changequote([, ])dnl if test ".$_pth_version" != .; then _pth_location=`$_dir/pth-config --prefix` _pth_type="installed" _pth_cppflags=`$_dir/pth-config --cflags` _pth_cflags=`$_dir/pth-config --cflags` _pth_ldflags=`$_dir/pth-config --ldflags` _pth_libs=`$_dir/pth-config --libs --all` _pth_found=yes break fi fi done fi # in any subarea under a specified directory # (either a special installation or a Pth source tree) if test ".$_pth_found" = .no; then changequote(, )dnl _pth_found=0 for _file in x `find $with_pth -name "pth.h" -type f -print`; do test .$_file = .x && continue _dir=`echo $_file | sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;'` _pth_version=`($_dir/pth-config --version) 2>/dev/null |\ sed -e 's/^.*\([0-9]\.[0-9]*[ab.][0-9]*\).*$/\1/'` if test ".$_pth_version" = .; then _pth_version=`grep '^#define PTH_VERSION_STR' $_file |\ sed -e 's;^#define[ ]*PTH_VERSION_STR[ ]*"\([0-9]*\.[0-9]*[.ab][0-9]*\)[ ].*$;\1;'` fi _pth_cppflags="-I$_dir" _pth_cflags="-I$_dir" _pth_found=`expr $_pth_found + 1` done for _file in x `find $with_pth -name "libpth.[aso]" -type f -print`; do test .$_file = .x && continue _dir=`echo $_file | sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;'` _pth_ldflags="-L$_dir" _pth_libs="-lpth" _pth_found=`expr $_pth_found + 1` done changequote([, ])dnl if test ".$_pth_found" = .2; then _pth_location="$with_pth" _pth_type="uninstalled" else _pth_version='' fi fi fi _AC_PTH_VERBOSE([+ Determined Location:]) _AC_PTH_VERBOSE([ o path: $_pth_location]) _AC_PTH_VERBOSE([ o type: $_pth_type]) if test ".$_pth_version" = .; then if test ".$with_pth" != .yes; then _AC_PTH_ERROR([dnl Unable to locate GNU Pth under $with_pth. Please specify the correct path to either a GNU Pth installation tree (use --with-pth=DIR if you used --prefix=DIR for installing GNU Pth in the past) or to a GNU Pth source tree (use --with-pth=DIR if DIR is a path to a pth-X.Y.Z/ directory; but make sure the package is already built, i.e., the "configure; make" step was already performed there).]) else _AC_PTH_ERROR([dnl Unable to locate GNU Pth in any system-wide location (see \$PATH). Please specify the correct path to either a GNU Pth installation tree (use --with-pth=DIR if you used --prefix=DIR for installing GNU Pth in the past) or to a GNU Pth source tree (use --with-pth=DIR if DIR is a path to a pth-X.Y.Z/ directory; but make sure the package is already built, i.e., the "configure; make" step was already performed there).]) fi fi dnl # dnl # Check whether the found version is sufficiently new dnl # _req_version="ifelse([$1],,1.0.0,$1)" for _var in _pth_version _req_version; do eval "_val=\"\$${_var}\"" _major=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\1/'` _minor=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\2/'` _rtype=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\3/'` _micro=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\4/'` case $_rtype in "a" ) _rtype=0 ;; "b" ) _rtype=1 ;; "." ) _rtype=2 ;; esac _hex=`echo dummy | awk '{ printf("%d%02d%1d%02d", major, minor, rtype, micro); }' \ "major=$_major" "minor=$_minor" "rtype=$_rtype" "micro=$_micro"` eval "${_var}_hex=\"\$_hex\"" done _AC_PTH_VERBOSE([+ Determined Versions:]) _AC_PTH_VERBOSE([ o existing: $_pth_version -> 0x$_pth_version_hex]) _AC_PTH_VERBOSE([ o required: $_req_version -> 0x$_req_version_hex]) _ok=0 if test ".$_pth_version_hex" != .; then if test ".$_req_version_hex" != .; then if test $_pth_version_hex -ge $_req_version_hex; then _ok=1 fi fi fi if test ".$_ok" = .0; then _AC_PTH_ERROR([dnl Found Pth version $_pth_version, but required at least version $_req_version. Upgrade Pth under $_pth_location to $_req_version or higher first, please.]) fi dnl # dnl # Perform Pth Sanity Compile Check dnl # if test ".$with_pth_test" = .yes; then _ac_save_CPPFLAGS="$CPPFLAGS" _ac_save_CFLAGS="$CFLAGS" _ac_save_LDFLAGS="$LDFLAGS" _ac_save_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $_pth_cppflags" CFLAGS="$CFLAGS $_pth_cflags" LDFLAGS="$LDFLAGS $_pth_ldflags" LIBS="$LIBS $_pth_libs" _AC_PTH_VERBOSE([+ Test Build Environment:]) _AC_PTH_VERBOSE([ o CPPFLAGS=\"$CPPFLAGS\"]) _AC_PTH_VERBOSE([ o CFLAGS=\"$CFLAGS\"]) _AC_PTH_VERBOSE([ o LDFLAGS=\"$LDFLAGS\"]) _AC_PTH_VERBOSE([ o LIBS=\"$LIBS\"]) cross_compile=no m4_define(_code1, [dnl #include #include ]) m4_define(_code2, [dnl int main(int argc, char *argv[]) { FILE *fp; if (!(fp = fopen("conftestval", "w"))) exit(1); fprintf(fp, "hmm"); fclose(fp); pth_init(); pth_kill(); if (!(fp = fopen("conftestval", "w"))) exit(1); fprintf(fp, "yes"); fclose(fp); exit(0); } ]) _AC_PTH_VERBOSE([+ Performing Sanity Checks:]) _AC_PTH_VERBOSE([ o pre-processor test]) AC_TRY_CPP(_code1, _ok=yes, _ok=no) if test ".$_ok" != .yes; then _AC_PTH_ERROR([dnl Found GNU Pth $_pth_version under $_pth_location, but was unable to perform a sanity pre-processor check. This means the GNU Pth header pth.h was not found. We used the following build environment: >> CPP="$CPP" >> CPPFLAGS="$CPPFLAGS" See config.log for possibly more details.]) fi _AC_PTH_VERBOSE([ o link check]) AC_TRY_LINK(_code1, _code2, _ok=yes, _ok=no) if test ".$_ok" != .yes; then _AC_PTH_ERROR([dnl Found GNU Pth $_pth_version under $_pth_location, but was unable to perform a sanity linker check. This means the GNU Pth library libpth.a was not found. We used the following build environment: >> CC="$CC" >> CFLAGS="$CFLAGS" >> LDFLAGS="$LDFLAGS" >> LIBS="$LIBS" See config.log for possibly more details.]) fi _AC_PTH_VERBOSE([ o run-time check]) AC_TRY_RUN(_code1 _code2, _ok=`cat conftestval`, _ok=no, _ok=no) if test ".$_ok" != .yes; then if test ".$_ok" = .no; then _AC_PTH_ERROR([dnl Found GNU Pth $_pth_version under $_pth_location, but was unable to perform a sanity execution check. This usually means that the GNU Pth shared library libpth.so is present but \$LD_LIBRARY_PATH is incomplete to execute a Pth test. In this case either disable this test via --without-pth-test, or extend \$LD_LIBRARY_PATH, or build GNU Pth as a static library only via its --disable-shared Autoconf option. We used the following build environment: >> CC="$CC" >> CFLAGS="$CFLAGS" >> LDFLAGS="$LDFLAGS" >> LIBS="$LIBS" See config.log for possibly more details.]) else _AC_PTH_ERROR([dnl Found GNU Pth $_pth_version under $_pth_location, but was unable to perform a sanity run-time check. This usually means that the GNU Pth library failed to work and possibly caused a core dump in the test program. In this case it is strongly recommended that you re-install GNU Pth and this time make sure that it really passes its "make test" procedure. We used the following build environment: >> CC="$CC" >> CFLAGS="$CFLAGS" >> LDFLAGS="$LDFLAGS" >> LIBS="$LIBS" See config.log for possibly more details.]) fi fi _extendvars="ifelse([$4],,yes,$4)" if test ".$_extendvars" != .yes; then CPPFLAGS="$_ac_save_CPPFLAGS" CFLAGS="$_ac_save_CFLAGS" LDFLAGS="$_ac_save_LDFLAGS" LIBS="$_ac_save_LIBS" fi else _extendvars="ifelse([$4],,yes,$4)" if test ".$_extendvars" = .yes; then if test ".$_pth_subdir" = .yes; then CPPFLAGS="$CPPFLAGS $_pth_cppflags" CFLAGS="$CFLAGS $_pth_cflags" LDFLAGS="$LDFLAGS $_pth_ldflags" LIBS="$LIBS $_pth_libs" fi fi fi PTH_CPPFLAGS="$_pth_cppflags" PTH_CFLAGS="$_pth_cflags" PTH_LDFLAGS="$_pth_ldflags" PTH_LIBS="$_pth_libs" AC_SUBST(PTH_CPPFLAGS) AC_SUBST(PTH_CFLAGS) AC_SUBST(PTH_LDFLAGS) AC_SUBST(PTH_LIBS) _AC_PTH_VERBOSE([+ Final Results:]) _AC_PTH_VERBOSE([ o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\"]) _AC_PTH_VERBOSE([ o PTH_CFLAGS=\"$PTH_CFLAGS\"]) _AC_PTH_VERBOSE([ o PTH_LDFLAGS=\"$PTH_LDFLAGS\"]) _AC_PTH_VERBOSE([ o PTH_LIBS=\"$PTH_LIBS\"]) fi if test ".$with_pth" != .no; then AC_MSG_RESULT([version $_pth_version, $_pth_type under $_pth_location]) ifelse([$5], , :, [$5]) else AC_MSG_RESULT([no]) ifelse([$6], , :, [$6]) fi ]) @ 1.18 log @Adjusted all copyright messages for new year 2006 @ text @d3 1 a3 1 dnl ## Copyright (c) 1999-2006 Ralf S. Engelschall @ 1.17 log @Let AC_CHECK_PTH use "pth-config --libs --all" instead of just "pth-config --libs" to allow it to work under platforms like Solaris where additional libraries are required. @ text @d3 1 a3 1 dnl ## Copyright (c) 1999-2005 Ralf S. Engelschall @ 1.16 log @Add quotes around function names for AC_DEFUN in pth.m4 to avoid warnings about "underquoted definitions". @ text @d123 1 a123 1 _pth_libs=`pth-config --libs` d164 1 a164 1 _pth_libs=`$_dir/pth-config --libs` @ 1.15 log @Adjusted all copyright messages for new year 2005. @ text @d43 1 a43 1 AC_DEFUN(_AC_PTH_ERROR, [dnl d54 1 a54 1 AC_DEFUN(_AC_PTH_VERBOSE, [dnl d60 1 a60 1 AC_DEFUN(AC_CHECK_PTH, [dnl @ 1.14 log @Workaround Autoconf/m4 problems in pth.m4 by using "m4_define" instead of just "define" and no using m4_undefine at all. Hints by: Dr. Andreas Mueller @ text @d3 1 a3 1 dnl ## Copyright (c) 1999-2004 Ralf S. Engelschall @ 1.13 log @Adjusted all copyright messages for new year 2004. @ text @d45 1 a45 1 define(_ac_pth_line,dnl a51 1 undefine(_ac_pth_line) d280 1 a280 1 define(_code1, [dnl d284 1 a284 1 define(_code2, [dnl @ 1.12 log @Adjusted all copyright messages for new year 2003. @ text @d3 1 a3 1 dnl ## Copyright (c) 1999-2003 Ralf S. Engelschall @ 1.11 log @back-out accidential change @ text @d3 1 a3 1 dnl ## Copyright (c) 1999-2002 Ralf S. Engelschall @ 1.10 log @Internally switch from "errno_shield {...}" to "pth_shield {...}" and from "return_errno(..)" to "return pth_error(...)" in order to make the internal error handling a little bit more consistent. @ text @d43 1 a43 1 AC_DEFUN(_AC_pth_error, [dnl d211 1 a211 1 _AC_pth_error([dnl d219 1 a219 1 _AC_pth_error([dnl d259 1 a259 1 _AC_pth_error([dnl d306 1 a306 1 _AC_pth_error([dnl d318 1 a318 1 _AC_pth_error([dnl d333 1 a333 1 _AC_pth_error([dnl d348 1 a348 1 _AC_pth_error([dnl @ 1.9 log @Woohhooo! Major GNU Pth source tree overhauling: - Removed all generated files from CVS. - Use OSSP devtool stuff to re-generate files on demand. - Switched to Autoconf 2.52 and Libtool 1.4.2 environment. @ text @d43 1 a43 1 AC_DEFUN(_AC_PTH_ERROR, [dnl d211 1 a211 1 _AC_PTH_ERROR([dnl d219 1 a219 1 _AC_PTH_ERROR([dnl d259 1 a259 1 _AC_PTH_ERROR([dnl d306 1 a306 1 _AC_PTH_ERROR([dnl d318 1 a318 1 _AC_PTH_ERROR([dnl d333 1 a333 1 _AC_PTH_ERROR([dnl d348 1 a348 1 _AC_PTH_ERROR([dnl @ 1.8 log @bump copyright year @ text @d24 1 a24 1 dnl ## configure.in of third-party software packages @ 1.7 log @*** empty log message *** @ text @d3 1 a3 1 dnl ## Copyright (c) 1999-2001 Ralf S. Engelschall @ 1.6 log @*** empty log message *** @ text @d3 1 a3 1 dnl ## Copyright (c) 1999-2000 Ralf S. Engelschall @ 1.5 log @*** empty log message *** @ text @d29 1 a29 1 dnl ## AC_CHECK_PTH([MIN-VERSION [, # minimum Pth version, e.g. 1.2b3 @ 1.4 log @*** empty log message *** @ text @d129 1 a129 1 # via local version d149 2 a150 1 # via config script under specified directory d154 1 a154 1 test -f "$_dir/pth-config.in" && continue # pth-config in source tree ! d172 1 a172 1 # in any subarea under specified directory d229 1 a229 1 dnl # Check whether found version is sufficiently new @ 1.3 log @*** empty log message *** @ text @d3 1 a3 1 dnl ## Copyright (c) 1999 Ralf S. Engelschall @ 1.2 log @*** empty log message *** @ text @d41 1 a41 1 dnl d43 1 a43 1 AC_DEFUN(_AC_PTH_ERROR, [dnl d61 1 a61 1 AC_DEFUN(AC_CHECK_PTH, [dnl d97 1 a97 1 subdir:* ) d212 2 a213 2 Please specify the correct path to either a GNU Pth installation tree (use --with-pth=DIR if you used --prefix=DIR for installing GNU Pth in d215 1 a215 1 path to a pth-X.Y.Z/ directory; but make sure the package is already d220 2 a221 2 Please specify the correct path to either a GNU Pth installation tree (use --with-pth=DIR if you used --prefix=DIR for installing GNU Pth in d223 1 a223 1 path to a pth-X.Y.Z/ directory; but make sure the package is already d308 2 a309 2 the GNU Pth header pth.h was not found. We used the following build environment: d320 2 a321 2 the GNU Pth library libpth.a was not found. We used the following build environment: d335 2 a336 2 means that the GNU Pth shared library libpth.so is present but \$LD_LIBRARY_PATH is incomplete to execute a Pth test. d338 1 a338 1 or extend \$LD_LIBRARY_PATH, or build GNU Pth as a static d340 1 a340 1 We used the following build environment: d354 1 a354 1 We used the following build environment: @ 1.1 log @*** empty log message *** @ text @d94 11 d129 20 d150 18 a167 16 for _dir in $with_pth/bin $with_pth; do if test -f "$_dir/pth-config"; then test -f "$_dir/pth-config.in" && continue # pth-config in source tree ! changequote(, )dnl _pth_version=`($_dir/pth-config --version) 2>/dev/null |\ sed -e 's/^.*\([0-9]\.[0-9]*[ab.][0-9]*\).*$/\1/'` changequote([, ])dnl if test ".$_pth_version" != .; then _pth_location=`$_dir/pth-config --prefix` _pth_type="installed" _pth_cppflags=`$_dir/pth-config --cflags` _pth_cflags=`$_dir/pth-config --cflags` _pth_ldflags=`$_dir/pth-config --ldflags` _pth_libs=`$_dir/pth-config --libs` _pth_found=yes break d169 2 a170 2 fi done d306 1 a306 1 Found GNU Pth $pth_version under $_pth_location, but d368 10 @