[BACK]Return to aclocal.m4 CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / gc

Annotation of OpenXM_contrib2/asir2000/gc/aclocal.m4, Revision 1.1

1.1     ! noro        1: # aclocal.m4 generated automatically by aclocal 1.6.1 -*- Autoconf -*-
        !             2:
        !             3: # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
        !             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: sinclude(libtool.m4)
        !            15:
        !            16: # Do all the work for Automake.                            -*- Autoconf -*-
        !            17:
        !            18: # This macro actually does too much some checks are only needed if
        !            19: # your package does certain things.  But this isn't really a big deal.
        !            20:
        !            21: # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
        !            22: # Free Software Foundation, Inc.
        !            23:
        !            24: # This program is free software; you can redistribute it and/or modify
        !            25: # it under the terms of the GNU General Public License as published by
        !            26: # the Free Software Foundation; either version 2, or (at your option)
        !            27: # any later version.
        !            28:
        !            29: # This program is distributed in the hope that it will be useful,
        !            30: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            31: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            32: # GNU General Public License for more details.
        !            33:
        !            34: # You should have received a copy of the GNU General Public License
        !            35: # along with this program; if not, write to the Free Software
        !            36: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !            37: # 02111-1307, USA.
        !            38:
        !            39: # serial 8
        !            40:
        !            41: # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
        !            42: # written in clear, in which case automake, when reading aclocal.m4,
        !            43: # will think it sees a *use*, and therefore will trigger all it's
        !            44: # C support machinery.  Also note that it means that autoscan, seeing
        !            45: # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
        !            46:
        !            47:
        !            48: AC_PREREQ([2.52])
        !            49:
        !            50: # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
        !            51: # the ones we care about.
        !            52: m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
        !            53:
        !            54: # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
        !            55: # AM_INIT_AUTOMAKE([OPTIONS])
        !            56: # -----------------------------------------------
        !            57: # The call with PACKAGE and VERSION arguments is the old style
        !            58: # call (pre autoconf-2.50), which is being phased out.  PACKAGE
        !            59: # and VERSION should now be passed to AC_INIT and removed from
        !            60: # the call to AM_INIT_AUTOMAKE.
        !            61: # We support both call styles for the transition.  After
        !            62: # the next Automake release, Autoconf can make the AC_INIT
        !            63: # arguments mandatory, and then we can depend on a new Autoconf
        !            64: # release and drop the old call support.
        !            65: AC_DEFUN([AM_INIT_AUTOMAKE],
        !            66: [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
        !            67:  AC_REQUIRE([AC_PROG_INSTALL])dnl
        !            68: # test to see if srcdir already configured
        !            69: if test "`cd $srcdir && pwd`" != "`pwd`" &&
        !            70:    test -f $srcdir/config.status; then
        !            71:   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
        !            72: fi
        !            73:
        !            74: # Define the identity of the package.
        !            75: dnl Distinguish between old-style and new-style calls.
        !            76: m4_ifval([$2],
        !            77: [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
        !            78:  AC_SUBST([PACKAGE], [$1])dnl
        !            79:  AC_SUBST([VERSION], [$2])],
        !            80: [_AM_SET_OPTIONS([$1])dnl
        !            81:  AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
        !            82:  AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
        !            83:
        !            84: _AM_IF_OPTION([no-define],,
        !            85: [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
        !            86:  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
        !            87:
        !            88: # Some tools Automake needs.
        !            89: AC_REQUIRE([AM_SANITY_CHECK])dnl
        !            90: AC_REQUIRE([AC_ARG_PROGRAM])dnl
        !            91: AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
        !            92: AM_MISSING_PROG(AUTOCONF, autoconf)
        !            93: AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
        !            94: AM_MISSING_PROG(AUTOHEADER, autoheader)
        !            95: AM_MISSING_PROG(MAKEINFO, makeinfo)
        !            96: AM_MISSING_PROG(AMTAR, tar)
        !            97: AM_PROG_INSTALL_SH
        !            98: AM_PROG_INSTALL_STRIP
        !            99: # We need awk for the "check" target.  The system "awk" is bad on
        !           100: # some platforms.
        !           101: AC_REQUIRE([AC_PROG_AWK])dnl
        !           102: AC_REQUIRE([AC_PROG_MAKE_SET])dnl
        !           103:
        !           104: _AM_IF_OPTION([no-dependencies],,
        !           105: [AC_PROVIDE_IFELSE([AC_PROG_][CC],
        !           106:                   [_AM_DEPENDENCIES(CC)],
        !           107:                   [define([AC_PROG_][CC],
        !           108:                           defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
        !           109: AC_PROVIDE_IFELSE([AC_PROG_][CXX],
        !           110:                   [_AM_DEPENDENCIES(CXX)],
        !           111:                   [define([AC_PROG_][CXX],
        !           112:                           defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
        !           113: ])
        !           114: ])
        !           115:
        !           116: # Copyright 2002  Free Software Foundation, Inc.
        !           117:
        !           118: # This program is free software; you can redistribute it and/or modify
        !           119: # it under the terms of the GNU General Public License as published by
        !           120: # the Free Software Foundation; either version 2, or (at your option)
        !           121: # any later version.
        !           122:
        !           123: # This program is distributed in the hope that it will be useful,
        !           124: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           125: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           126: # GNU General Public License for more details.
        !           127:
        !           128: # You should have received a copy of the GNU General Public License
        !           129: # along with this program; if not, write to the Free Software
        !           130: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           131:
        !           132: # AM_AUTOMAKE_VERSION(VERSION)
        !           133: # ----------------------------
        !           134: # Automake X.Y traces this macro to ensure aclocal.m4 has been
        !           135: # generated from the m4 files accompanying Automake X.Y.
        !           136: AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
        !           137:
        !           138: # AM_SET_CURRENT_AUTOMAKE_VERSION
        !           139: # -------------------------------
        !           140: # Call AM_AUTOMAKE_VERSION so it can be traced.
        !           141: # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
        !           142: AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
        !           143:         [AM_AUTOMAKE_VERSION([1.6.1])])
        !           144:
        !           145: # Helper functions for option handling.                    -*- Autoconf -*-
        !           146:
        !           147: # Copyright 2001, 2002  Free Software Foundation, Inc.
        !           148:
        !           149: # This program is free software; you can redistribute it and/or modify
        !           150: # it under the terms of the GNU General Public License as published by
        !           151: # the Free Software Foundation; either version 2, or (at your option)
        !           152: # any later version.
        !           153:
        !           154: # This program is distributed in the hope that it will be useful,
        !           155: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           156: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           157: # GNU General Public License for more details.
        !           158:
        !           159: # You should have received a copy of the GNU General Public License
        !           160: # along with this program; if not, write to the Free Software
        !           161: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           162: # 02111-1307, USA.
        !           163:
        !           164: # serial 2
        !           165:
        !           166: # _AM_MANGLE_OPTION(NAME)
        !           167: # -----------------------
        !           168: AC_DEFUN([_AM_MANGLE_OPTION],
        !           169: [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
        !           170:
        !           171: # _AM_SET_OPTION(NAME)
        !           172: # ------------------------------
        !           173: # Set option NAME.  Presently that only means defining a flag for this option.
        !           174: AC_DEFUN([_AM_SET_OPTION],
        !           175: [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
        !           176:
        !           177: # _AM_SET_OPTIONS(OPTIONS)
        !           178: # ----------------------------------
        !           179: # OPTIONS is a space-separated list of Automake options.
        !           180: AC_DEFUN([_AM_SET_OPTIONS],
        !           181: [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
        !           182:
        !           183: # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
        !           184: # -------------------------------------------
        !           185: # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
        !           186: AC_DEFUN([_AM_IF_OPTION],
        !           187: [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
        !           188:
        !           189: #
        !           190: # Check to make sure that the build environment is sane.
        !           191: #
        !           192:
        !           193: # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
        !           194:
        !           195: # This program is free software; you can redistribute it and/or modify
        !           196: # it under the terms of the GNU General Public License as published by
        !           197: # the Free Software Foundation; either version 2, or (at your option)
        !           198: # any later version.
        !           199:
        !           200: # This program is distributed in the hope that it will be useful,
        !           201: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           202: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           203: # GNU General Public License for more details.
        !           204:
        !           205: # You should have received a copy of the GNU General Public License
        !           206: # along with this program; if not, write to the Free Software
        !           207: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           208: # 02111-1307, USA.
        !           209:
        !           210: # serial 3
        !           211:
        !           212: # AM_SANITY_CHECK
        !           213: # ---------------
        !           214: AC_DEFUN([AM_SANITY_CHECK],
        !           215: [AC_MSG_CHECKING([whether build environment is sane])
        !           216: # Just in case
        !           217: sleep 1
        !           218: echo timestamp > conftest.file
        !           219: # Do `set' in a subshell so we don't clobber the current shell's
        !           220: # arguments.  Must try -L first in case configure is actually a
        !           221: # symlink; some systems play weird games with the mod time of symlinks
        !           222: # (eg FreeBSD returns the mod time of the symlink's containing
        !           223: # directory).
        !           224: if (
        !           225:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
        !           226:    if test "$[*]" = "X"; then
        !           227:       # -L didn't work.
        !           228:       set X `ls -t $srcdir/configure conftest.file`
        !           229:    fi
        !           230:    rm -f conftest.file
        !           231:    if test "$[*]" != "X $srcdir/configure conftest.file" \
        !           232:       && test "$[*]" != "X conftest.file $srcdir/configure"; then
        !           233:
        !           234:       # If neither matched, then we have a broken ls.  This can happen
        !           235:       # if, for instance, CONFIG_SHELL is bash and it inherits a
        !           236:       # broken ls alias from the environment.  This has actually
        !           237:       # happened.  Such a system could not be considered "sane".
        !           238:       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
        !           239: alias in your environment])
        !           240:    fi
        !           241:
        !           242:    test "$[2]" = conftest.file
        !           243:    )
        !           244: then
        !           245:    # Ok.
        !           246:    :
        !           247: else
        !           248:    AC_MSG_ERROR([newly created file is older than distributed files!
        !           249: Check your system clock])
        !           250: fi
        !           251: AC_MSG_RESULT(yes)])
        !           252:
        !           253: #  -*- Autoconf -*-
        !           254:
        !           255:
        !           256: # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
        !           257:
        !           258: # This program is free software; you can redistribute it and/or modify
        !           259: # it under the terms of the GNU General Public License as published by
        !           260: # the Free Software Foundation; either version 2, or (at your option)
        !           261: # any later version.
        !           262:
        !           263: # This program is distributed in the hope that it will be useful,
        !           264: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           265: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           266: # GNU General Public License for more details.
        !           267:
        !           268: # You should have received a copy of the GNU General Public License
        !           269: # along with this program; if not, write to the Free Software
        !           270: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           271: # 02111-1307, USA.
        !           272:
        !           273: # serial 3
        !           274:
        !           275: # AM_MISSING_PROG(NAME, PROGRAM)
        !           276: # ------------------------------
        !           277: AC_DEFUN([AM_MISSING_PROG],
        !           278: [AC_REQUIRE([AM_MISSING_HAS_RUN])
        !           279: $1=${$1-"${am_missing_run}$2"}
        !           280: AC_SUBST($1)])
        !           281:
        !           282:
        !           283: # AM_MISSING_HAS_RUN
        !           284: # ------------------
        !           285: # Define MISSING if not defined so far and test if it supports --run.
        !           286: # If it does, set am_missing_run to use it, otherwise, to nothing.
        !           287: AC_DEFUN([AM_MISSING_HAS_RUN],
        !           288: [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
        !           289: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
        !           290: # Use eval to expand $SHELL
        !           291: if eval "$MISSING --run true"; then
        !           292:   am_missing_run="$MISSING --run "
        !           293: else
        !           294:   am_missing_run=
        !           295:   AC_MSG_WARN([`missing' script is too old or missing])
        !           296: fi
        !           297: ])
        !           298:
        !           299: # AM_AUX_DIR_EXPAND
        !           300:
        !           301: # Copyright 2001 Free Software Foundation, Inc.
        !           302:
        !           303: # This program is free software; you can redistribute it and/or modify
        !           304: # it under the terms of the GNU General Public License as published by
        !           305: # the Free Software Foundation; either version 2, or (at your option)
        !           306: # any later version.
        !           307:
        !           308: # This program is distributed in the hope that it will be useful,
        !           309: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           310: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           311: # GNU General Public License for more details.
        !           312:
        !           313: # You should have received a copy of the GNU General Public License
        !           314: # along with this program; if not, write to the Free Software
        !           315: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           316: # 02111-1307, USA.
        !           317:
        !           318: # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
        !           319: # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
        !           320: # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
        !           321: #
        !           322: # Of course, Automake must honor this variable whenever it calls a
        !           323: # tool from the auxiliary directory.  The problem is that $srcdir (and
        !           324: # therefore $ac_aux_dir as well) can be either absolute or relative,
        !           325: # depending on how configure is run.  This is pretty annoying, since
        !           326: # it makes $ac_aux_dir quite unusable in subdirectories: in the top
        !           327: # source directory, any form will work fine, but in subdirectories a
        !           328: # relative path needs to be adjusted first.
        !           329: #
        !           330: # $ac_aux_dir/missing
        !           331: #    fails when called from a subdirectory if $ac_aux_dir is relative
        !           332: # $top_srcdir/$ac_aux_dir/missing
        !           333: #    fails if $ac_aux_dir is absolute,
        !           334: #    fails when called from a subdirectory in a VPATH build with
        !           335: #          a relative $ac_aux_dir
        !           336: #
        !           337: # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
        !           338: # are both prefixed by $srcdir.  In an in-source build this is usually
        !           339: # harmless because $srcdir is `.', but things will broke when you
        !           340: # start a VPATH build or use an absolute $srcdir.
        !           341: #
        !           342: # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
        !           343: # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
        !           344: #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
        !           345: # and then we would define $MISSING as
        !           346: #   MISSING="\${SHELL} $am_aux_dir/missing"
        !           347: # This will work as long as MISSING is not called from configure, because
        !           348: # unfortunately $(top_srcdir) has no meaning in configure.
        !           349: # However there are other variables, like CC, which are often used in
        !           350: # configure, and could therefore not use this "fixed" $ac_aux_dir.
        !           351: #
        !           352: # Another solution, used here, is to always expand $ac_aux_dir to an
        !           353: # absolute PATH.  The drawback is that using absolute paths prevent a
        !           354: # configured tree to be moved without reconfiguration.
        !           355:
        !           356: # Rely on autoconf to set up CDPATH properly.
        !           357: AC_PREREQ([2.50])
        !           358:
        !           359: AC_DEFUN([AM_AUX_DIR_EXPAND], [
        !           360: # expand $ac_aux_dir to an absolute path
        !           361: am_aux_dir=`cd $ac_aux_dir && pwd`
        !           362: ])
        !           363:
        !           364: # AM_PROG_INSTALL_SH
        !           365: # ------------------
        !           366: # Define $install_sh.
        !           367:
        !           368: # Copyright 2001 Free Software Foundation, Inc.
        !           369:
        !           370: # This program is free software; you can redistribute it and/or modify
        !           371: # it under the terms of the GNU General Public License as published by
        !           372: # the Free Software Foundation; either version 2, or (at your option)
        !           373: # any later version.
        !           374:
        !           375: # This program is distributed in the hope that it will be useful,
        !           376: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           377: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           378: # GNU General Public License for more details.
        !           379:
        !           380: # You should have received a copy of the GNU General Public License
        !           381: # along with this program; if not, write to the Free Software
        !           382: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           383: # 02111-1307, USA.
        !           384:
        !           385: AC_DEFUN([AM_PROG_INSTALL_SH],
        !           386: [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
        !           387: install_sh=${install_sh-"$am_aux_dir/install-sh"}
        !           388: AC_SUBST(install_sh)])
        !           389:
        !           390: # AM_PROG_INSTALL_STRIP
        !           391:
        !           392: # Copyright 2001 Free Software Foundation, Inc.
        !           393:
        !           394: # This program is free software; you can redistribute it and/or modify
        !           395: # it under the terms of the GNU General Public License as published by
        !           396: # the Free Software Foundation; either version 2, or (at your option)
        !           397: # any later version.
        !           398:
        !           399: # This program is distributed in the hope that it will be useful,
        !           400: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           401: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           402: # GNU General Public License for more details.
        !           403:
        !           404: # You should have received a copy of the GNU General Public License
        !           405: # along with this program; if not, write to the Free Software
        !           406: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           407: # 02111-1307, USA.
        !           408:
        !           409: # One issue with vendor `install' (even GNU) is that you can't
        !           410: # specify the program used to strip binaries.  This is especially
        !           411: # annoying in cross-compiling environments, where the build's strip
        !           412: # is unlikely to handle the host's binaries.
        !           413: # Fortunately install-sh will honor a STRIPPROG variable, so we
        !           414: # always use install-sh in `make install-strip', and initialize
        !           415: # STRIPPROG with the value of the STRIP variable (set by the user).
        !           416: AC_DEFUN([AM_PROG_INSTALL_STRIP],
        !           417: [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
        !           418: # Installed binaries are usually stripped using `strip' when the user
        !           419: # run `make install-strip'.  However `strip' might not be the right
        !           420: # tool to use in cross-compilation environments, therefore Automake
        !           421: # will honor the `STRIP' environment variable to overrule this program.
        !           422: dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
        !           423: if test "$cross_compiling" != no; then
        !           424:   AC_CHECK_TOOL([STRIP], [strip], :)
        !           425: fi
        !           426: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
        !           427: AC_SUBST([INSTALL_STRIP_PROGRAM])])
        !           428:
        !           429: # serial 4                                             -*- Autoconf -*-
        !           430:
        !           431: # Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
        !           432:
        !           433: # This program is free software; you can redistribute it and/or modify
        !           434: # it under the terms of the GNU General Public License as published by
        !           435: # the Free Software Foundation; either version 2, or (at your option)
        !           436: # any later version.
        !           437:
        !           438: # This program is distributed in the hope that it will be useful,
        !           439: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           440: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           441: # GNU General Public License for more details.
        !           442:
        !           443: # You should have received a copy of the GNU General Public License
        !           444: # along with this program; if not, write to the Free Software
        !           445: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           446: # 02111-1307, USA.
        !           447:
        !           448:
        !           449: # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
        !           450: # written in clear, in which case automake, when reading aclocal.m4,
        !           451: # will think it sees a *use*, and therefore will trigger all it's
        !           452: # C support machinery.  Also note that it means that autoscan, seeing
        !           453: # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
        !           454:
        !           455:
        !           456:
        !           457: # _AM_DEPENDENCIES(NAME)
        !           458: # ----------------------
        !           459: # See how the compiler implements dependency checking.
        !           460: # NAME is "CC", "CXX", "GCJ", or "OBJC".
        !           461: # We try a few techniques and use that to set a single cache variable.
        !           462: #
        !           463: # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
        !           464: # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
        !           465: # dependency, and given that the user is not expected to run this macro,
        !           466: # just rely on AC_PROG_CC.
        !           467: AC_DEFUN([_AM_DEPENDENCIES],
        !           468: [AC_REQUIRE([AM_SET_DEPDIR])dnl
        !           469: AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
        !           470: AC_REQUIRE([AM_MAKE_INCLUDE])dnl
        !           471: AC_REQUIRE([AM_DEP_TRACK])dnl
        !           472:
        !           473: ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
        !           474:        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
        !           475:        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
        !           476:        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
        !           477:                    [depcc="$$1"   am_compiler_list=])
        !           478:
        !           479: AC_CACHE_CHECK([dependency style of $depcc],
        !           480:                [am_cv_$1_dependencies_compiler_type],
        !           481: [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
        !           482:   # We make a subdir and do the tests there.  Otherwise we can end up
        !           483:   # making bogus files that we don't know about and never remove.  For
        !           484:   # instance it was reported that on HP-UX the gcc test will end up
        !           485:   # making a dummy file named `D' -- because `-MD' means `put the output
        !           486:   # in D'.
        !           487:   mkdir conftest.dir
        !           488:   # Copy depcomp to subdir because otherwise we won't find it if we're
        !           489:   # using a relative directory.
        !           490:   cp "$am_depcomp" conftest.dir
        !           491:   cd conftest.dir
        !           492:
        !           493:   am_cv_$1_dependencies_compiler_type=none
        !           494:   if test "$am_compiler_list" = ""; then
        !           495:      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
        !           496:   fi
        !           497:   for depmode in $am_compiler_list; do
        !           498:     # We need to recreate these files for each test, as the compiler may
        !           499:     # overwrite some of them when testing with obscure command lines.
        !           500:     # This happens at least with the AIX C compiler.
        !           501:     echo '#include "conftest.h"' > conftest.c
        !           502:     echo 'int i;' > conftest.h
        !           503:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
        !           504:
        !           505:     case $depmode in
        !           506:     nosideeffect)
        !           507:       # after this tag, mechanisms are not by side-effect, so they'll
        !           508:       # only be used when explicitly requested
        !           509:       if test "x$enable_dependency_tracking" = xyes; then
        !           510:        continue
        !           511:       else
        !           512:        break
        !           513:       fi
        !           514:       ;;
        !           515:     none) break ;;
        !           516:     esac
        !           517:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
        !           518:     # mode.  It turns out that the SunPro C++ compiler does not properly
        !           519:     # handle `-M -o', and we need to detect this.
        !           520:     if depmode=$depmode \
        !           521:        source=conftest.c object=conftest.o \
        !           522:        depfile=conftest.Po tmpdepfile=conftest.TPo \
        !           523:        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
        !           524:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
        !           525:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
        !           526:       am_cv_$1_dependencies_compiler_type=$depmode
        !           527:       break
        !           528:     fi
        !           529:   done
        !           530:
        !           531:   cd ..
        !           532:   rm -rf conftest.dir
        !           533: else
        !           534:   am_cv_$1_dependencies_compiler_type=none
        !           535: fi
        !           536: ])
        !           537: AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
        !           538: ])
        !           539:
        !           540:
        !           541: # AM_SET_DEPDIR
        !           542: # -------------
        !           543: # Choose a directory name for dependency files.
        !           544: # This macro is AC_REQUIREd in _AM_DEPENDENCIES
        !           545: AC_DEFUN([AM_SET_DEPDIR],
        !           546: [rm -f .deps 2>/dev/null
        !           547: mkdir .deps 2>/dev/null
        !           548: if test -d .deps; then
        !           549:   DEPDIR=.deps
        !           550: else
        !           551:   # MS-DOS does not allow filenames that begin with a dot.
        !           552:   DEPDIR=_deps
        !           553: fi
        !           554: rmdir .deps 2>/dev/null
        !           555: AC_SUBST([DEPDIR])
        !           556: ])
        !           557:
        !           558:
        !           559: # AM_DEP_TRACK
        !           560: # ------------
        !           561: AC_DEFUN([AM_DEP_TRACK],
        !           562: [AC_ARG_ENABLE(dependency-tracking,
        !           563: [  --disable-dependency-tracking Speeds up one-time builds
        !           564:   --enable-dependency-tracking  Do not reject slow dependency extractors])
        !           565: if test "x$enable_dependency_tracking" != xno; then
        !           566:   am_depcomp="$ac_aux_dir/depcomp"
        !           567:   AMDEPBACKSLASH='\'
        !           568: fi
        !           569: AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
        !           570: AC_SUBST([AMDEPBACKSLASH])
        !           571: ])
        !           572:
        !           573: # Generate code to set up dependency tracking.   -*- Autoconf -*-
        !           574:
        !           575: # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
        !           576:
        !           577: # This program is free software; you can redistribute it and/or modify
        !           578: # it under the terms of the GNU General Public License as published by
        !           579: # the Free Software Foundation; either version 2, or (at your option)
        !           580: # any later version.
        !           581:
        !           582: # This program is distributed in the hope that it will be useful,
        !           583: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           584: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           585: # GNU General Public License for more details.
        !           586:
        !           587: # You should have received a copy of the GNU General Public License
        !           588: # along with this program; if not, write to the Free Software
        !           589: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           590: # 02111-1307, USA.
        !           591:
        !           592: #serial 2
        !           593:
        !           594: # _AM_OUTPUT_DEPENDENCY_COMMANDS
        !           595: # ------------------------------
        !           596: AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
        !           597: [for mf in $CONFIG_FILES; do
        !           598:   # Strip MF so we end up with the name of the file.
        !           599:   mf=`echo "$mf" | sed -e 's/:.*$//'`
        !           600:   if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
        !           601:     dirpart=`AS_DIRNAME("$mf")`
        !           602:   else
        !           603:     continue
        !           604:   fi
        !           605:   grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
        !           606:   # Extract the definition of DEP_FILES from the Makefile without
        !           607:   # running `make'.
        !           608:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
        !           609:   test -z "$DEPDIR" && continue
        !           610:   # When using ansi2knr, U may be empty or an underscore; expand it
        !           611:   U=`sed -n -e '/^U = / s///p' < "$mf"`
        !           612:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
        !           613:   # We invoke sed twice because it is the simplest approach to
        !           614:   # changing $(DEPDIR) to its actual value in the expansion.
        !           615:   for file in `sed -n -e '
        !           616:     /^DEP_FILES = .*\\\\$/ {
        !           617:       s/^DEP_FILES = //
        !           618:       :loop
        !           619:        s/\\\\$//
        !           620:        p
        !           621:        n
        !           622:        /\\\\$/ b loop
        !           623:       p
        !           624:     }
        !           625:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
        !           626:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
        !           627:     # Make sure the directory exists.
        !           628:     test -f "$dirpart/$file" && continue
        !           629:     fdir=`AS_DIRNAME(["$file"])`
        !           630:     AS_MKDIR_P([$dirpart/$fdir])
        !           631:     # echo "creating $dirpart/$file"
        !           632:     echo '# dummy' > "$dirpart/$file"
        !           633:   done
        !           634: done
        !           635: ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
        !           636:
        !           637:
        !           638: # AM_OUTPUT_DEPENDENCY_COMMANDS
        !           639: # -----------------------------
        !           640: # This macro should only be invoked once -- use via AC_REQUIRE.
        !           641: #
        !           642: # This code is only required when automatic dependency tracking
        !           643: # is enabled.  FIXME.  This creates each `.P' file that we will
        !           644: # need in order to bootstrap the dependency handling code.
        !           645: AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
        !           646: [AC_CONFIG_COMMANDS([depfiles],
        !           647:      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
        !           648:      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
        !           649: ])
        !           650:
        !           651: # Copyright 2001 Free Software Foundation, Inc.             -*- Autoconf -*-
        !           652:
        !           653: # This program is free software; you can redistribute it and/or modify
        !           654: # it under the terms of the GNU General Public License as published by
        !           655: # the Free Software Foundation; either version 2, or (at your option)
        !           656: # any later version.
        !           657:
        !           658: # This program is distributed in the hope that it will be useful,
        !           659: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           660: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           661: # GNU General Public License for more details.
        !           662:
        !           663: # You should have received a copy of the GNU General Public License
        !           664: # along with this program; if not, write to the Free Software
        !           665: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           666: # 02111-1307, USA.
        !           667:
        !           668: # serial 2
        !           669:
        !           670: # AM_MAKE_INCLUDE()
        !           671: # -----------------
        !           672: # Check to see how make treats includes.
        !           673: AC_DEFUN([AM_MAKE_INCLUDE],
        !           674: [am_make=${MAKE-make}
        !           675: cat > confinc << 'END'
        !           676: doit:
        !           677:        @echo done
        !           678: END
        !           679: # If we don't find an include directive, just comment out the code.
        !           680: AC_MSG_CHECKING([for style of include used by $am_make])
        !           681: am__include="#"
        !           682: am__quote=
        !           683: _am_result=none
        !           684: # First try GNU make style include.
        !           685: echo "include confinc" > confmf
        !           686: # We grep out `Entering directory' and `Leaving directory'
        !           687: # messages which can occur if `w' ends up in MAKEFLAGS.
        !           688: # In particular we don't look at `^make:' because GNU make might
        !           689: # be invoked under some other name (usually "gmake"), in which
        !           690: # case it prints its new name instead of `make'.
        !           691: if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
        !           692:    am__include=include
        !           693:    am__quote=
        !           694:    _am_result=GNU
        !           695: fi
        !           696: # Now try BSD make style include.
        !           697: if test "$am__include" = "#"; then
        !           698:    echo '.include "confinc"' > confmf
        !           699:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
        !           700:       am__include=.include
        !           701:       am__quote="\""
        !           702:       _am_result=BSD
        !           703:    fi
        !           704: fi
        !           705: AC_SUBST(am__include)
        !           706: AC_SUBST(am__quote)
        !           707: AC_MSG_RESULT($_am_result)
        !           708: rm -f confinc confmf
        !           709: ])
        !           710:
        !           711: # AM_CONDITIONAL                                              -*- Autoconf -*-
        !           712:
        !           713: # Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
        !           714:
        !           715: # This program is free software; you can redistribute it and/or modify
        !           716: # it under the terms of the GNU General Public License as published by
        !           717: # the Free Software Foundation; either version 2, or (at your option)
        !           718: # any later version.
        !           719:
        !           720: # This program is distributed in the hope that it will be useful,
        !           721: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           722: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           723: # GNU General Public License for more details.
        !           724:
        !           725: # You should have received a copy of the GNU General Public License
        !           726: # along with this program; if not, write to the Free Software
        !           727: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           728: # 02111-1307, USA.
        !           729:
        !           730: # serial 5
        !           731:
        !           732: AC_PREREQ(2.52)
        !           733:
        !           734: # AM_CONDITIONAL(NAME, SHELL-CONDITION)
        !           735: # -------------------------------------
        !           736: # Define a conditional.
        !           737: AC_DEFUN([AM_CONDITIONAL],
        !           738: [ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
        !           739:         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
        !           740: AC_SUBST([$1_TRUE])
        !           741: AC_SUBST([$1_FALSE])
        !           742: if $2; then
        !           743:   $1_TRUE=
        !           744:   $1_FALSE='#'
        !           745: else
        !           746:   $1_TRUE='#'
        !           747:   $1_FALSE=
        !           748: fi
        !           749: AC_CONFIG_COMMANDS_PRE(
        !           750: [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
        !           751:   AC_MSG_ERROR([conditional \"$1\" was never defined.
        !           752: Usually this means the macro was only invoked conditionally.])
        !           753: fi])])
        !           754:
        !           755: # Figure out how to run the assembler.             -*- Autoconf -*-
        !           756:
        !           757: # serial 2
        !           758:
        !           759: # Copyright 2001 Free Software Foundation, Inc.
        !           760:
        !           761: # This program is free software; you can redistribute it and/or modify
        !           762: # it under the terms of the GNU General Public License as published by
        !           763: # the Free Software Foundation; either version 2, or (at your option)
        !           764: # any later version.
        !           765:
        !           766: # This program is distributed in the hope that it will be useful,
        !           767: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           768: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           769: # GNU General Public License for more details.
        !           770:
        !           771: # You should have received a copy of the GNU General Public License
        !           772: # along with this program; if not, write to the Free Software
        !           773: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           774: # 02111-1307, USA.
        !           775:
        !           776: # AM_PROG_AS
        !           777: # ----------
        !           778: AC_DEFUN([AM_PROG_AS],
        !           779: [# By default we simply use the C compiler to build assembly code.
        !           780: AC_REQUIRE([AC_PROG_CC])
        !           781: : ${CCAS='$(CC)'}
        !           782: # Set ASFLAGS if not already set.
        !           783: : ${CCASFLAGS='$(CFLAGS)'}
        !           784: AC_SUBST(CCAS)
        !           785: AC_SUBST(CCASFLAGS)])
        !           786:
        !           787: # Add --enable-maintainer-mode option to configure.
        !           788: # From Jim Meyering
        !           789:
        !           790: # Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
        !           791:
        !           792: # This program is free software; you can redistribute it and/or modify
        !           793: # it under the terms of the GNU General Public License as published by
        !           794: # the Free Software Foundation; either version 2, or (at your option)
        !           795: # any later version.
        !           796:
        !           797: # This program is distributed in the hope that it will be useful,
        !           798: # but WITHOUT ANY WARRANTY; without even the implied warranty of
        !           799: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !           800: # GNU General Public License for more details.
        !           801:
        !           802: # You should have received a copy of the GNU General Public License
        !           803: # along with this program; if not, write to the Free Software
        !           804: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
        !           805: # 02111-1307, USA.
        !           806:
        !           807: # serial 1
        !           808:
        !           809: AC_DEFUN([AM_MAINTAINER_MODE],
        !           810: [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
        !           811:   dnl maintainer-mode is disabled by default
        !           812:   AC_ARG_ENABLE(maintainer-mode,
        !           813: [  --enable-maintainer-mode enable make rules and dependencies not useful
        !           814:                           (and sometimes confusing) to the casual installer],
        !           815:       USE_MAINTAINER_MODE=$enableval,
        !           816:       USE_MAINTAINER_MODE=no)
        !           817:   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
        !           818:   AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
        !           819:   MAINT=$MAINTAINER_MODE_TRUE
        !           820:   AC_SUBST(MAINT)dnl
        !           821: ]
        !           822: )
        !           823:

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