[BACK]Return to aclocal.m4 CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Annotation of OpenXM/src/ox_toolkit/aclocal.m4, Revision 1.1

1.1     ! ohara       1: # aclocal.m4 generated automatically by aclocal 1.5
        !             2:
        !             3: # Copyright 1996, 1997, 1998, 1999, 2000, 2001
        !             4: # Free Software Foundation, Inc.
        !             5: # This file is free software; the Free Software Foundation
        !             6: # gives unlimited permission to copy and/or distribute it,
        !             7: # with or without modifications, as long as this notice is preserved.
        !             8:
        !             9: # This program is distributed in the hope that it will be useful,
        !            10: # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
        !            11: # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
        !            12: # PARTICULAR PURPOSE.
        !            13:
        !            14: # Do all the work for Automake.  This macro actually does too much --
        !            15: # some checks are only needed if your package does certain things.
        !            16: # But this isn't really a big deal.
        !            17:
        !            18: # serial 5
        !            19:
        !            20: # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
        !            21: # written in clear, in which case automake, when reading aclocal.m4,
        !            22: # will think it sees a *use*, and therefore will trigger all it's
        !            23: # C support machinery.  Also note that it means that autoscan, seeing
        !            24: # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
        !            25:
        !            26:
        !            27: # We require 2.13 because we rely on SHELL being computed by configure.
        !            28: AC_PREREQ([2.13])
        !            29:
        !            30: # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
        !            31: # -----------------------------------------------------------
        !            32: # If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
        !            33: # The purpose of this macro is to provide the user with a means to
        !            34: # check macros which are provided without letting her know how the
        !            35: # information is coded.
        !            36: # If this macro is not defined by Autoconf, define it here.
        !            37: ifdef([AC_PROVIDE_IFELSE],
        !            38:       [],
        !            39:       [define([AC_PROVIDE_IFELSE],
        !            40:               [ifdef([AC_PROVIDE_$1],
        !            41:                      [$2], [$3])])])
        !            42:
        !            43:
        !            44: # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
        !            45: # ----------------------------------------------
        !            46: AC_DEFUN([AM_INIT_AUTOMAKE],
        !            47: [AC_REQUIRE([AC_PROG_INSTALL])dnl
        !            48: # test to see if srcdir already configured
        !            49: if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
        !            50:    test -f $srcdir/config.status; then
        !            51:   AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
        !            52: fi
        !            53:
        !            54: # Define the identity of the package.
        !            55: PACKAGE=$1
        !            56: AC_SUBST(PACKAGE)dnl
        !            57: VERSION=$2
        !            58: AC_SUBST(VERSION)dnl
        !            59: ifelse([$3],,
        !            60: [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
        !            61: AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
        !            62:
        !            63: # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
        !            64: # the ones we care about.
        !            65: ifdef([m4_pattern_allow],
        !            66:       [m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
        !            67:
        !            68: # Autoconf 2.50 always computes EXEEXT.  However we need to be
        !            69: # compatible with 2.13, for now.  So we always define EXEEXT, but we
        !            70: # don't compute it.
        !            71: AC_SUBST(EXEEXT)
        !            72: # Similar for OBJEXT -- only we only use OBJEXT if the user actually
        !            73: # requests that it be used.  This is a bit dumb.
        !            74: : ${OBJEXT=o}
        !            75: AC_SUBST(OBJEXT)
        !            76:
        !            77: # Some tools Automake needs.
        !            78: AC_REQUIRE([AM_SANITY_CHECK])dnl
        !            79: AC_REQUIRE([AC_ARG_PROGRAM])dnl
        !            80: AM_MISSING_PROG(ACLOCAL, aclocal)
        !            81: AM_MISSING_PROG(AUTOCONF, autoconf)
        !            82: AM_MISSING_PROG(AUTOMAKE, automake)
        !            83: AM_MISSING_PROG(AUTOHEADER, autoheader)
        !            84: AM_MISSING_PROG(MAKEINFO, makeinfo)
        !            85: AM_MISSING_PROG(AMTAR, tar)
        !            86: AM_PROG_INSTALL_SH
        !            87: AM_PROG_INSTALL_STRIP
        !            88: # We need awk for the "check" target.  The system "awk" is bad on
        !            89: # some platforms.
        !            90: AC_REQUIRE([AC_PROG_AWK])dnl
        !            91: AC_REQUIRE([AC_PROG_MAKE_SET])dnl
        !            92: AC_REQUIRE([AM_DEP_TRACK])dnl
        !            93: AC_REQUIRE([AM_SET_DEPDIR])dnl
        !            94: AC_PROVIDE_IFELSE([AC_PROG_][CC],
        !            95:                   [_AM_DEPENDENCIES(CC)],
        !            96:                   [define([AC_PROG_][CC],
        !            97:                           defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
        !            98: AC_PROVIDE_IFELSE([AC_PROG_][CXX],
        !            99:                   [_AM_DEPENDENCIES(CXX)],
        !           100:                   [define([AC_PROG_][CXX],
        !           101:                           defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
        !           102: ])
        !           103:
        !           104: #
        !           105: # Check to make sure that the build environment is sane.
        !           106: #
        !           107:
        !           108: # serial 3
        !           109:
        !           110: # AM_SANITY_CHECK
        !           111: # ---------------
        !           112: AC_DEFUN([AM_SANITY_CHECK],
        !           113: [AC_MSG_CHECKING([whether build environment is sane])
        !           114: # Just in case
        !           115: sleep 1
        !           116: echo timestamp > conftest.file
        !           117: # Do `set' in a subshell so we don't clobber the current shell's
        !           118: # arguments.  Must try -L first in case configure is actually a
        !           119: # symlink; some systems play weird games with the mod time of symlinks
        !           120: # (eg FreeBSD returns the mod time of the symlink's containing
        !           121: # directory).
        !           122: if (
        !           123:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
        !           124:    if test "$[*]" = "X"; then
        !           125:       # -L didn't work.
        !           126:       set X `ls -t $srcdir/configure conftest.file`
        !           127:    fi
        !           128:    rm -f conftest.file
        !           129:    if test "$[*]" != "X $srcdir/configure conftest.file" \
        !           130:       && test "$[*]" != "X conftest.file $srcdir/configure"; then
        !           131:
        !           132:       # If neither matched, then we have a broken ls.  This can happen
        !           133:       # if, for instance, CONFIG_SHELL is bash and it inherits a
        !           134:       # broken ls alias from the environment.  This has actually
        !           135:       # happened.  Such a system could not be considered "sane".
        !           136:       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
        !           137: alias in your environment])
        !           138:    fi
        !           139:
        !           140:    test "$[2]" = conftest.file
        !           141:    )
        !           142: then
        !           143:    # Ok.
        !           144:    :
        !           145: else
        !           146:    AC_MSG_ERROR([newly created file is older than distributed files!
        !           147: Check your system clock])
        !           148: fi
        !           149: AC_MSG_RESULT(yes)])
        !           150:
        !           151:
        !           152: # serial 2
        !           153:
        !           154: # AM_MISSING_PROG(NAME, PROGRAM)
        !           155: # ------------------------------
        !           156: AC_DEFUN([AM_MISSING_PROG],
        !           157: [AC_REQUIRE([AM_MISSING_HAS_RUN])
        !           158: $1=${$1-"${am_missing_run}$2"}
        !           159: AC_SUBST($1)])
        !           160:
        !           161:
        !           162: # AM_MISSING_HAS_RUN
        !           163: # ------------------
        !           164: # Define MISSING if not defined so far and test if it supports --run.
        !           165: # If it does, set am_missing_run to use it, otherwise, to nothing.
        !           166: AC_DEFUN([AM_MISSING_HAS_RUN],
        !           167: [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
        !           168: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
        !           169: # Use eval to expand $SHELL
        !           170: if eval "$MISSING --run true"; then
        !           171:   am_missing_run="$MISSING --run "
        !           172: else
        !           173:   am_missing_run=
        !           174:   am_backtick='`'
        !           175:   AC_MSG_WARN([${am_backtick}missing' script is too old or missing])
        !           176: fi
        !           177: ])
        !           178:
        !           179: # AM_AUX_DIR_EXPAND
        !           180:
        !           181: # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
        !           182: # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
        !           183: # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
        !           184: #
        !           185: # Of course, Automake must honor this variable whenever it calls a
        !           186: # tool from the auxiliary directory.  The problem is that $srcdir (and
        !           187: # therefore $ac_aux_dir as well) can be either absolute or relative,
        !           188: # depending on how configure is run.  This is pretty annoying, since
        !           189: # it makes $ac_aux_dir quite unusable in subdirectories: in the top
        !           190: # source directory, any form will work fine, but in subdirectories a
        !           191: # relative path needs to be adjusted first.
        !           192: #
        !           193: # $ac_aux_dir/missing
        !           194: #    fails when called from a subdirectory if $ac_aux_dir is relative
        !           195: # $top_srcdir/$ac_aux_dir/missing
        !           196: #    fails if $ac_aux_dir is absolute,
        !           197: #    fails when called from a subdirectory in a VPATH build with
        !           198: #          a relative $ac_aux_dir
        !           199: #
        !           200: # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
        !           201: # are both prefixed by $srcdir.  In an in-source build this is usually
        !           202: # harmless because $srcdir is `.', but things will broke when you
        !           203: # start a VPATH build or use an absolute $srcdir.
        !           204: #
        !           205: # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
        !           206: # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
        !           207: #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
        !           208: # and then we would define $MISSING as
        !           209: #   MISSING="\${SHELL} $am_aux_dir/missing"
        !           210: # This will work as long as MISSING is not called from configure, because
        !           211: # unfortunately $(top_srcdir) has no meaning in configure.
        !           212: # However there are other variables, like CC, which are often used in
        !           213: # configure, and could therefore not use this "fixed" $ac_aux_dir.
        !           214: #
        !           215: # Another solution, used here, is to always expand $ac_aux_dir to an
        !           216: # absolute PATH.  The drawback is that using absolute paths prevent a
        !           217: # configured tree to be moved without reconfiguration.
        !           218:
        !           219: AC_DEFUN([AM_AUX_DIR_EXPAND], [
        !           220: # expand $ac_aux_dir to an absolute path
        !           221: am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
        !           222: ])
        !           223:
        !           224: # AM_PROG_INSTALL_SH
        !           225: # ------------------
        !           226: # Define $install_sh.
        !           227: AC_DEFUN([AM_PROG_INSTALL_SH],
        !           228: [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
        !           229: install_sh=${install_sh-"$am_aux_dir/install-sh"}
        !           230: AC_SUBST(install_sh)])
        !           231:
        !           232: # One issue with vendor `install' (even GNU) is that you can't
        !           233: # specify the program used to strip binaries.  This is especially
        !           234: # annoying in cross-compiling environments, where the build's strip
        !           235: # is unlikely to handle the host's binaries.
        !           236: # Fortunately install-sh will honor a STRIPPROG variable, so we
        !           237: # always use install-sh in `make install-strip', and initialize
        !           238: # STRIPPROG with the value of the STRIP variable (set by the user).
        !           239: AC_DEFUN([AM_PROG_INSTALL_STRIP],
        !           240: [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
        !           241: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
        !           242: AC_SUBST([INSTALL_STRIP_PROGRAM])])
        !           243:
        !           244: # serial 4                                             -*- Autoconf -*-
        !           245:
        !           246:
        !           247:
        !           248: # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
        !           249: # written in clear, in which case automake, when reading aclocal.m4,
        !           250: # will think it sees a *use*, and therefore will trigger all it's
        !           251: # C support machinery.  Also note that it means that autoscan, seeing
        !           252: # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
        !           253:
        !           254:
        !           255:
        !           256: # _AM_DEPENDENCIES(NAME)
        !           257: # ---------------------
        !           258: # See how the compiler implements dependency checking.
        !           259: # NAME is "CC", "CXX" or "OBJC".
        !           260: # We try a few techniques and use that to set a single cache variable.
        !           261: #
        !           262: # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
        !           263: # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
        !           264: # dependency, and given that the user is not expected to run this macro,
        !           265: # just rely on AC_PROG_CC.
        !           266: AC_DEFUN([_AM_DEPENDENCIES],
        !           267: [AC_REQUIRE([AM_SET_DEPDIR])dnl
        !           268: AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
        !           269: AC_REQUIRE([AM_MAKE_INCLUDE])dnl
        !           270: AC_REQUIRE([AM_DEP_TRACK])dnl
        !           271:
        !           272: ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
        !           273:        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
        !           274:        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
        !           275:        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
        !           276:                    [depcc="$$1"   am_compiler_list=])
        !           277:
        !           278: AC_CACHE_CHECK([dependency style of $depcc],
        !           279:                [am_cv_$1_dependencies_compiler_type],
        !           280: [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
        !           281:   # We make a subdir and do the tests there.  Otherwise we can end up
        !           282:   # making bogus files that we don't know about and never remove.  For
        !           283:   # instance it was reported that on HP-UX the gcc test will end up
        !           284:   # making a dummy file named `D' -- because `-MD' means `put the output
        !           285:   # in D'.
        !           286:   mkdir conftest.dir
        !           287:   # Copy depcomp to subdir because otherwise we won't find it if we're
        !           288:   # using a relative directory.
        !           289:   cp "$am_depcomp" conftest.dir
        !           290:   cd conftest.dir
        !           291:
        !           292:   am_cv_$1_dependencies_compiler_type=none
        !           293:   if test "$am_compiler_list" = ""; then
        !           294:      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
        !           295:   fi
        !           296:   for depmode in $am_compiler_list; do
        !           297:     # We need to recreate these files for each test, as the compiler may
        !           298:     # overwrite some of them when testing with obscure command lines.
        !           299:     # This happens at least with the AIX C compiler.
        !           300:     echo '#include "conftest.h"' > conftest.c
        !           301:     echo 'int i;' > conftest.h
        !           302:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
        !           303:
        !           304:     case $depmode in
        !           305:     nosideeffect)
        !           306:       # after this tag, mechanisms are not by side-effect, so they'll
        !           307:       # only be used when explicitly requested
        !           308:       if test "x$enable_dependency_tracking" = xyes; then
        !           309:        continue
        !           310:       else
        !           311:        break
        !           312:       fi
        !           313:       ;;
        !           314:     none) break ;;
        !           315:     esac
        !           316:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
        !           317:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !           318:     # handle `-M -o', and we need to detect this.
        !           319:     if depmode=$depmode \
        !           320:        source=conftest.c object=conftest.o \
        !           321:        depfile=conftest.Po tmpdepfile=conftest.TPo \
        !           322:        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
        !           323:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
        !           324:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
        !           325:       am_cv_$1_dependencies_compiler_type=$depmode
        !           326:       break
        !           327:     fi
        !           328:   done
        !           329:
        !           330:   cd ..
        !           331:   rm -rf conftest.dir
        !           332: else
        !           333:   am_cv_$1_dependencies_compiler_type=none
        !           334: fi
        !           335: ])
        !           336: $1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
        !           337: AC_SUBST([$1DEPMODE])
        !           338: ])
        !           339:
        !           340:
        !           341: # AM_SET_DEPDIR
        !           342: # -------------
        !           343: # Choose a directory name for dependency files.
        !           344: # This macro is AC_REQUIREd in _AM_DEPENDENCIES
        !           345: AC_DEFUN([AM_SET_DEPDIR],
        !           346: [rm -f .deps 2>/dev/null
        !           347: mkdir .deps 2>/dev/null
        !           348: if test -d .deps; then
        !           349:   DEPDIR=.deps
        !           350: else
        !           351:   # MS-DOS does not allow filenames that begin with a dot.
        !           352:   DEPDIR=_deps
        !           353: fi
        !           354: rmdir .deps 2>/dev/null
        !           355: AC_SUBST(DEPDIR)
        !           356: ])
        !           357:
        !           358:
        !           359: # AM_DEP_TRACK
        !           360: # ------------
        !           361: AC_DEFUN([AM_DEP_TRACK],
        !           362: [AC_ARG_ENABLE(dependency-tracking,
        !           363: [  --disable-dependency-tracking Speeds up one-time builds
        !           364:   --enable-dependency-tracking  Do not reject slow dependency extractors])
        !           365: if test "x$enable_dependency_tracking" != xno; then
        !           366:   am_depcomp="$ac_aux_dir/depcomp"
        !           367:   AMDEPBACKSLASH='\'
        !           368: fi
        !           369: AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
        !           370: pushdef([subst], defn([AC_SUBST]))
        !           371: subst(AMDEPBACKSLASH)
        !           372: popdef([subst])
        !           373: ])
        !           374:
        !           375: # Generate code to set up dependency tracking.
        !           376: # This macro should only be invoked once -- use via AC_REQUIRE.
        !           377: # Usage:
        !           378: # AM_OUTPUT_DEPENDENCY_COMMANDS
        !           379:
        !           380: #
        !           381: # This code is only required when automatic dependency tracking
        !           382: # is enabled.  FIXME.  This creates each `.P' file that we will
        !           383: # need in order to bootstrap the dependency handling code.
        !           384: AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
        !           385: AC_OUTPUT_COMMANDS([
        !           386: test x"$AMDEP_TRUE" != x"" ||
        !           387: for mf in $CONFIG_FILES; do
        !           388:   case "$mf" in
        !           389:   Makefile) dirpart=.;;
        !           390:   */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
        !           391:   *) continue;;
        !           392:   esac
        !           393:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
        !           394:   # Extract the definition of DEP_FILES from the Makefile without
        !           395:   # running `make'.
        !           396:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
        !           397:   test -z "$DEPDIR" && continue
        !           398:   # When using ansi2knr, U may be empty or an underscore; expand it
        !           399:   U=`sed -n -e '/^U = / s///p' < "$mf"`
        !           400:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
        !           401:   # We invoke sed twice because it is the simplest approach to
        !           402:   # changing $(DEPDIR) to its actual value in the expansion.
        !           403:   for file in `sed -n -e '
        !           404:     /^DEP_FILES = .*\\\\$/ {
        !           405:       s/^DEP_FILES = //
        !           406:       :loop
        !           407:        s/\\\\$//
        !           408:        p
        !           409:        n
        !           410:        /\\\\$/ b loop
        !           411:       p
        !           412:     }
        !           413:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
        !           414:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
        !           415:     # Make sure the directory exists.
        !           416:     test -f "$dirpart/$file" && continue
        !           417:     fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
        !           418:     $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
        !           419:     # echo "creating $dirpart/$file"
        !           420:     echo '# dummy' > "$dirpart/$file"
        !           421:   done
        !           422: done
        !           423: ], [AMDEP_TRUE="$AMDEP_TRUE"
        !           424: ac_aux_dir="$ac_aux_dir"])])
        !           425:
        !           426: # AM_MAKE_INCLUDE()
        !           427: # -----------------
        !           428: # Check to see how make treats includes.
        !           429: AC_DEFUN([AM_MAKE_INCLUDE],
        !           430: [am_make=${MAKE-make}
        !           431: cat > confinc << 'END'
        !           432: doit:
        !           433:        @echo done
        !           434: END
        !           435: # If we don't find an include directive, just comment out the code.
        !           436: AC_MSG_CHECKING([for style of include used by $am_make])
        !           437: am__include='#'
        !           438: am__quote=
        !           439: _am_result=none
        !           440: # First try GNU make style include.
        !           441: echo "include confinc" > confmf
        !           442: # We grep out `Entering directory' and `Leaving directory'
        !           443: # messages which can occur if `w' ends up in MAKEFLAGS.
        !           444: # In particular we don't look at `^make:' because GNU make might
        !           445: # be invoked under some other name (usually "gmake"), in which
        !           446: # case it prints its new name instead of `make'.
        !           447: if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
        !           448:    am__include=include
        !           449:    am__quote=
        !           450:    _am_result=GNU
        !           451: fi
        !           452: # Now try BSD make style include.
        !           453: if test "$am__include" = "#"; then
        !           454:    echo '.include "confinc"' > confmf
        !           455:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
        !           456:       am__include=.include
        !           457:       am__quote='"'
        !           458:       _am_result=BSD
        !           459:    fi
        !           460: fi
        !           461: AC_SUBST(am__include)
        !           462: AC_SUBST(am__quote)
        !           463: AC_MSG_RESULT($_am_result)
        !           464: rm -f confinc confmf
        !           465: ])
        !           466:
        !           467: # serial 3
        !           468:
        !           469: # AM_CONDITIONAL(NAME, SHELL-CONDITION)
        !           470: # -------------------------------------
        !           471: # Define a conditional.
        !           472: #
        !           473: # FIXME: Once using 2.50, use this:
        !           474: # m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
        !           475: AC_DEFUN([AM_CONDITIONAL],
        !           476: [ifelse([$1], [TRUE],
        !           477:         [errprint(__file__:__line__: [$0: invalid condition: $1
        !           478: ])dnl
        !           479: m4exit(1)])dnl
        !           480: ifelse([$1], [FALSE],
        !           481:        [errprint(__file__:__line__: [$0: invalid condition: $1
        !           482: ])dnl
        !           483: m4exit(1)])dnl
        !           484: AC_SUBST([$1_TRUE])
        !           485: AC_SUBST([$1_FALSE])
        !           486: if $2; then
        !           487:   $1_TRUE=
        !           488:   $1_FALSE='#'
        !           489: else
        !           490:   $1_TRUE='#'
        !           491:   $1_FALSE=
        !           492: fi])
        !           493:
        !           494: # Add --enable-maintainer-mode option to configure.
        !           495: # From Jim Meyering
        !           496:
        !           497: # serial 1
        !           498:
        !           499: AC_DEFUN([AM_MAINTAINER_MODE],
        !           500: [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
        !           501:   dnl maintainer-mode is disabled by default
        !           502:   AC_ARG_ENABLE(maintainer-mode,
        !           503: [  --enable-maintainer-mode enable make rules and dependencies not useful
        !           504:                           (and sometimes confusing) to the casual installer],
        !           505:       USE_MAINTAINER_MODE=$enableval,
        !           506:       USE_MAINTAINER_MODE=no)
        !           507:   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
        !           508:   AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
        !           509:   MAINT=$MAINTAINER_MODE_TRUE
        !           510:   AC_SUBST(MAINT)dnl
        !           511: ]
        !           512: )
        !           513:
        !           514:
        !           515: # serial 40 AC_PROG_LIBTOOL
        !           516: AC_DEFUN(AC_PROG_LIBTOOL,
        !           517: [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
        !           518:
        !           519: # Save cache, so that ltconfig can load it
        !           520: AC_CACHE_SAVE
        !           521:
        !           522: # Actually configure libtool.  ac_aux_dir is where install-sh is found.
        !           523: CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
        !           524: LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
        !           525: LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
        !           526: DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
        !           527: ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
        !           528: $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
        !           529: || AC_MSG_ERROR([libtool configure failed])
        !           530:
        !           531: # Reload cache, that may have been modified by ltconfig
        !           532: AC_CACHE_LOAD
        !           533:
        !           534: # This can be used to rebuild libtool when needed
        !           535: LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
        !           536:
        !           537: # Always use our own libtool.
        !           538: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
        !           539: AC_SUBST(LIBTOOL)dnl
        !           540:
        !           541: # Redirect the config.log output again, so that the ltconfig log is not
        !           542: # clobbered by the next message.
        !           543: exec 5>>./config.log
        !           544: ])
        !           545:
        !           546: AC_DEFUN(AC_LIBTOOL_SETUP,
        !           547: [AC_PREREQ(2.13)dnl
        !           548: AC_REQUIRE([AC_ENABLE_SHARED])dnl
        !           549: AC_REQUIRE([AC_ENABLE_STATIC])dnl
        !           550: AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
        !           551: AC_REQUIRE([AC_CANONICAL_HOST])dnl
        !           552: AC_REQUIRE([AC_CANONICAL_BUILD])dnl
        !           553: AC_REQUIRE([AC_PROG_RANLIB])dnl
        !           554: AC_REQUIRE([AC_PROG_CC])dnl
        !           555: AC_REQUIRE([AC_PROG_LD])dnl
        !           556: AC_REQUIRE([AC_PROG_NM])dnl
        !           557: AC_REQUIRE([AC_PROG_LN_S])dnl
        !           558: dnl
        !           559:
        !           560: case "$target" in
        !           561: NONE) lt_target="$host" ;;
        !           562: *) lt_target="$target" ;;
        !           563: esac
        !           564:
        !           565: # Check for any special flags to pass to ltconfig.
        !           566: libtool_flags="--cache-file=$cache_file"
        !           567: test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
        !           568: test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
        !           569: test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
        !           570: test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
        !           571: test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
        !           572: ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
        !           573: [libtool_flags="$libtool_flags --enable-dlopen"])
        !           574: ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
        !           575: [libtool_flags="$libtool_flags --enable-win32-dll"])
        !           576: AC_ARG_ENABLE(libtool-lock,
        !           577:   [  --disable-libtool-lock  avoid locking (might break parallel builds)])
        !           578: test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
        !           579: test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
        !           580:
        !           581: # Some flags need to be propagated to the compiler or linker for good
        !           582: # libtool support.
        !           583: case "$lt_target" in
        !           584: *-*-irix6*)
        !           585:   # Find out which ABI we are using.
        !           586:   echo '[#]line __oline__ "configure"' > conftest.$ac_ext
        !           587:   if AC_TRY_EVAL(ac_compile); then
        !           588:     case "`/usr/bin/file conftest.o`" in
        !           589:     *32-bit*)
        !           590:       LD="${LD-ld} -32"
        !           591:       ;;
        !           592:     *N32*)
        !           593:       LD="${LD-ld} -n32"
        !           594:       ;;
        !           595:     *64-bit*)
        !           596:       LD="${LD-ld} -64"
        !           597:       ;;
        !           598:     esac
        !           599:   fi
        !           600:   rm -rf conftest*
        !           601:   ;;
        !           602:
        !           603: *-*-sco3.2v5*)
        !           604:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
        !           605:   SAVE_CFLAGS="$CFLAGS"
        !           606:   CFLAGS="$CFLAGS -belf"
        !           607:   AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
        !           608:     [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
        !           609:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
        !           610:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
        !           611:     CFLAGS="$SAVE_CFLAGS"
        !           612:   fi
        !           613:   ;;
        !           614:
        !           615: ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
        !           616: [*-*-cygwin* | *-*-mingw*)
        !           617:   AC_CHECK_TOOL(DLLTOOL, dlltool, false)
        !           618:   AC_CHECK_TOOL(AS, as, false)
        !           619:   AC_CHECK_TOOL(OBJDUMP, objdump, false)
        !           620:   ;;
        !           621: ])
        !           622: esac
        !           623: ])
        !           624:
        !           625: # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
        !           626: AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
        !           627:
        !           628: # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
        !           629: AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
        !           630:
        !           631: # AC_ENABLE_SHARED - implement the --enable-shared flag
        !           632: # Usage: AC_ENABLE_SHARED[(DEFAULT)]
        !           633: #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
        !           634: #   `yes'.
        !           635: AC_DEFUN(AC_ENABLE_SHARED, [dnl
        !           636: define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
        !           637: AC_ARG_ENABLE(shared,
        !           638: changequote(<<, >>)dnl
        !           639: <<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
        !           640: changequote([, ])dnl
        !           641: [p=${PACKAGE-default}
        !           642: case "$enableval" in
        !           643: yes) enable_shared=yes ;;
        !           644: no) enable_shared=no ;;
        !           645: *)
        !           646:   enable_shared=no
        !           647:   # Look at the argument we got.  We use all the common list separators.
        !           648:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !           649:   for pkg in $enableval; do
        !           650:     if test "X$pkg" = "X$p"; then
        !           651:       enable_shared=yes
        !           652:     fi
        !           653:   done
        !           654:   IFS="$ac_save_ifs"
        !           655:   ;;
        !           656: esac],
        !           657: enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
        !           658: ])
        !           659:
        !           660: # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
        !           661: AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
        !           662: AC_ENABLE_SHARED(no)])
        !           663:
        !           664: # AC_ENABLE_STATIC - implement the --enable-static flag
        !           665: # Usage: AC_ENABLE_STATIC[(DEFAULT)]
        !           666: #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
        !           667: #   `yes'.
        !           668: AC_DEFUN(AC_ENABLE_STATIC, [dnl
        !           669: define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
        !           670: AC_ARG_ENABLE(static,
        !           671: changequote(<<, >>)dnl
        !           672: <<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
        !           673: changequote([, ])dnl
        !           674: [p=${PACKAGE-default}
        !           675: case "$enableval" in
        !           676: yes) enable_static=yes ;;
        !           677: no) enable_static=no ;;
        !           678: *)
        !           679:   enable_static=no
        !           680:   # Look at the argument we got.  We use all the common list separators.
        !           681:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !           682:   for pkg in $enableval; do
        !           683:     if test "X$pkg" = "X$p"; then
        !           684:       enable_static=yes
        !           685:     fi
        !           686:   done
        !           687:   IFS="$ac_save_ifs"
        !           688:   ;;
        !           689: esac],
        !           690: enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
        !           691: ])
        !           692:
        !           693: # AC_DISABLE_STATIC - set the default static flag to --disable-static
        !           694: AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
        !           695: AC_ENABLE_STATIC(no)])
        !           696:
        !           697:
        !           698: # AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
        !           699: # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
        !           700: #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
        !           701: #   `yes'.
        !           702: AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
        !           703: define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
        !           704: AC_ARG_ENABLE(fast-install,
        !           705: changequote(<<, >>)dnl
        !           706: <<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
        !           707: changequote([, ])dnl
        !           708: [p=${PACKAGE-default}
        !           709: case "$enableval" in
        !           710: yes) enable_fast_install=yes ;;
        !           711: no) enable_fast_install=no ;;
        !           712: *)
        !           713:   enable_fast_install=no
        !           714:   # Look at the argument we got.  We use all the common list separators.
        !           715:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !           716:   for pkg in $enableval; do
        !           717:     if test "X$pkg" = "X$p"; then
        !           718:       enable_fast_install=yes
        !           719:     fi
        !           720:   done
        !           721:   IFS="$ac_save_ifs"
        !           722:   ;;
        !           723: esac],
        !           724: enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
        !           725: ])
        !           726:
        !           727: # AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
        !           728: AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
        !           729: AC_ENABLE_FAST_INSTALL(no)])
        !           730:
        !           731: # AC_PROG_LD - find the path to the GNU or non-GNU linker
        !           732: AC_DEFUN(AC_PROG_LD,
        !           733: [AC_ARG_WITH(gnu-ld,
        !           734: [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
        !           735: test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
        !           736: AC_REQUIRE([AC_PROG_CC])dnl
        !           737: AC_REQUIRE([AC_CANONICAL_HOST])dnl
        !           738: AC_REQUIRE([AC_CANONICAL_BUILD])dnl
        !           739: ac_prog=ld
        !           740: if test "$ac_cv_prog_gcc" = yes; then
        !           741:   # Check if gcc -print-prog-name=ld gives a path.
        !           742:   AC_MSG_CHECKING([for ld used by GCC])
        !           743:   ac_prog=`($CC -print-prog-name=ld) 2>&5`
        !           744:   case "$ac_prog" in
        !           745:     # Accept absolute paths.
        !           746: changequote(,)dnl
        !           747:     [\\/]* | [A-Za-z]:[\\/]*)
        !           748:       re_direlt='/[^/][^/]*/\.\./'
        !           749: changequote([,])dnl
        !           750:       # Canonicalize the path of ld
        !           751:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
        !           752:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
        !           753:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
        !           754:       done
        !           755:       test -z "$LD" && LD="$ac_prog"
        !           756:       ;;
        !           757:   "")
        !           758:     # If it fails, then pretend we aren't using GCC.
        !           759:     ac_prog=ld
        !           760:     ;;
        !           761:   *)
        !           762:     # If it is relative, then search for the first ld in PATH.
        !           763:     with_gnu_ld=unknown
        !           764:     ;;
        !           765:   esac
        !           766: elif test "$with_gnu_ld" = yes; then
        !           767:   AC_MSG_CHECKING([for GNU ld])
        !           768: else
        !           769:   AC_MSG_CHECKING([for non-GNU ld])
        !           770: fi
        !           771: AC_CACHE_VAL(ac_cv_path_LD,
        !           772: [if test -z "$LD"; then
        !           773:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
        !           774:   for ac_dir in $PATH; do
        !           775:     test -z "$ac_dir" && ac_dir=.
        !           776:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
        !           777:       ac_cv_path_LD="$ac_dir/$ac_prog"
        !           778:       # Check to see if the program is GNU ld.  I'd rather use --version,
        !           779:       # but apparently some GNU ld's only accept -v.
        !           780:       # Break only if it was the GNU/non-GNU ld that we prefer.
        !           781:       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
        !           782:        test "$with_gnu_ld" != no && break
        !           783:       else
        !           784:        test "$with_gnu_ld" != yes && break
        !           785:       fi
        !           786:     fi
        !           787:   done
        !           788:   IFS="$ac_save_ifs"
        !           789: else
        !           790:   ac_cv_path_LD="$LD" # Let the user override the test with a path.
        !           791: fi])
        !           792: LD="$ac_cv_path_LD"
        !           793: if test -n "$LD"; then
        !           794:   AC_MSG_RESULT($LD)
        !           795: else
        !           796:   AC_MSG_RESULT(no)
        !           797: fi
        !           798: test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
        !           799: AC_PROG_LD_GNU
        !           800: ])
        !           801:
        !           802: AC_DEFUN(AC_PROG_LD_GNU,
        !           803: [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
        !           804: [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
        !           805: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
        !           806:   ac_cv_prog_gnu_ld=yes
        !           807: else
        !           808:   ac_cv_prog_gnu_ld=no
        !           809: fi])
        !           810: ])
        !           811:
        !           812: # AC_PROG_NM - find the path to a BSD-compatible name lister
        !           813: AC_DEFUN(AC_PROG_NM,
        !           814: [AC_MSG_CHECKING([for BSD-compatible nm])
        !           815: AC_CACHE_VAL(ac_cv_path_NM,
        !           816: [if test -n "$NM"; then
        !           817:   # Let the user override the test.
        !           818:   ac_cv_path_NM="$NM"
        !           819: else
        !           820:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
        !           821:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
        !           822:     test -z "$ac_dir" && ac_dir=.
        !           823:     if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
        !           824:       # Check to see if the nm accepts a BSD-compat flag.
        !           825:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
        !           826:       #   nm: unknown option "B" ignored
        !           827:       if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
        !           828:        ac_cv_path_NM="$ac_dir/nm -B"
        !           829:        break
        !           830:       elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
        !           831:        ac_cv_path_NM="$ac_dir/nm -p"
        !           832:        break
        !           833:       else
        !           834:        ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
        !           835:        continue # so that we can try to find one that supports BSD flags
        !           836:       fi
        !           837:     fi
        !           838:   done
        !           839:   IFS="$ac_save_ifs"
        !           840:   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
        !           841: fi])
        !           842: NM="$ac_cv_path_NM"
        !           843: AC_MSG_RESULT([$NM])
        !           844: ])
        !           845:
        !           846: # AC_CHECK_LIBM - check for math library
        !           847: AC_DEFUN(AC_CHECK_LIBM,
        !           848: [AC_REQUIRE([AC_CANONICAL_HOST])dnl
        !           849: LIBM=
        !           850: case "$lt_target" in
        !           851: *-*-beos* | *-*-cygwin*)
        !           852:   # These system don't have libm
        !           853:   ;;
        !           854: *-ncr-sysv4.3*)
        !           855:   AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
        !           856:   AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
        !           857:   ;;
        !           858: *)
        !           859:   AC_CHECK_LIB(m, main, LIBM="-lm")
        !           860:   ;;
        !           861: esac
        !           862: ])
        !           863:
        !           864: # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
        !           865: # the libltdl convenience library and INCLTDL to the include flags for
        !           866: # the libltdl header and adds --enable-ltdl-convenience to the
        !           867: # configure arguments.  Note that LIBLTDL and INCLTDL are not
        !           868: # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
        !           869: # provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
        !           870: # with '${top_builddir}/' and INCLTDL will be prefixed with
        !           871: # '${top_srcdir}/' (note the single quotes!).  If your package is not
        !           872: # flat and you're not using automake, define top_builddir and
        !           873: # top_srcdir appropriately in the Makefiles.
        !           874: AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
        !           875:   case "$enable_ltdl_convenience" in
        !           876:   no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
        !           877:   "") enable_ltdl_convenience=yes
        !           878:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
        !           879:   esac
        !           880:   LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
        !           881:   INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
        !           882: ])
        !           883:
        !           884: # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
        !           885: # the libltdl installable library and INCLTDL to the include flags for
        !           886: # the libltdl header and adds --enable-ltdl-install to the configure
        !           887: # arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
        !           888: # AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed
        !           889: # libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will
        !           890: # be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
        !           891: # with '${top_srcdir}/' (note the single quotes!).  If your package is
        !           892: # not flat and you're not using automake, define top_builddir and
        !           893: # top_srcdir appropriately in the Makefiles.
        !           894: # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
        !           895: AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
        !           896:   AC_CHECK_LIB(ltdl, main,
        !           897:   [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
        !           898:   [if test x"$enable_ltdl_install" = xno; then
        !           899:      AC_MSG_WARN([libltdl not installed, but installation disabled])
        !           900:    else
        !           901:      enable_ltdl_install=yes
        !           902:    fi
        !           903:   ])
        !           904:   if test x"$enable_ltdl_install" = x"yes"; then
        !           905:     ac_configure_args="$ac_configure_args --enable-ltdl-install"
        !           906:     LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
        !           907:     INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
        !           908:   else
        !           909:     ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
        !           910:     LIBLTDL="-lltdl"
        !           911:     INCLTDL=
        !           912:   fi
        !           913: ])
        !           914:
        !           915: dnl old names
        !           916: AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
        !           917: AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
        !           918: AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
        !           919: AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
        !           920: AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
        !           921: AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
        !           922: AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
        !           923:
        !           924: dnl This is just to silence aclocal about the macro not being used
        !           925: ifelse([AC_DISABLE_FAST_INSTALL])dnl
        !           926:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>