aclocal.m4 revision 56746
156746Srobertodnl aclocal.m4 generated automatically by aclocal 1.4a
254359Sroberto
354359Srobertodnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
454359Srobertodnl This file is free software; the Free Software Foundation
554359Srobertodnl gives unlimited permission to copy and/or distribute it,
654359Srobertodnl with or without modifications, as long as this notice is preserved.
754359Sroberto
854359Srobertodnl This program is distributed in the hope that it will be useful,
954359Srobertodnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1054359Srobertodnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1154359Srobertodnl PARTICULAR PURPOSE.
1254359Sroberto
1354359Sroberto# Like AC_CONFIG_HEADER, but automatically create stamp file.
1454359Sroberto
1554359SrobertoAC_DEFUN(AM_CONFIG_HEADER,
1654359Sroberto[AC_PREREQ([2.12])
1754359SrobertoAC_CONFIG_HEADER([$1])
1854359Srobertodnl When config.status generates a header, we must update the stamp-h file.
1954359Srobertodnl This file resides in the same directory as the config header
2054359Srobertodnl that is generated.  We must strip everything past the first ":",
2154359Srobertodnl and everything past the last "/".
2254359SrobertoAC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
2354359Srobertoifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
2454359Sroberto<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
2554359Sroberto<<am_indx=1
2654359Srobertofor am_file in <<$1>>; do
2754359Sroberto  case " <<$>>CONFIG_HEADERS " in
2854359Sroberto  *" <<$>>am_file "*<<)>>
2954359Sroberto    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
3054359Sroberto    ;;
3154359Sroberto  esac
3254359Sroberto  am_indx=`expr "<<$>>am_indx" + 1`
3354359Srobertodone<<>>dnl>>)
3454359Srobertochangequote([,]))])
3554359Sroberto
3654359Sroberto# Do all the work for Automake.  This macro actually does too much --
3754359Sroberto# some checks are only needed if your package does certain things.
3854359Sroberto# But this isn't really a big deal.
3954359Sroberto
4054359Sroberto# serial 1
4154359Sroberto
4254359Srobertodnl Usage:
4354359Srobertodnl AM_INIT_AUTOMAKE(package,version, [no-define])
4454359Sroberto
4554359SrobertoAC_DEFUN(AM_INIT_AUTOMAKE,
4654359Sroberto[AC_REQUIRE([AC_PROG_INSTALL])
4754359Srobertodnl We require 2.13 because we rely on SHELL being computed by configure.
4854359SrobertoAC_PREREQ([2.13])
4954359SrobertoPACKAGE=[$1]
5054359SrobertoAC_SUBST(PACKAGE)
5154359SrobertoVERSION=[$2]
5254359SrobertoAC_SUBST(VERSION)
5354359Srobertodnl test to see if srcdir already configured
5456746Srobertoif test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
5556746Sroberto   test -f $srcdir/config.status; then
5654359Sroberto  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
5754359Srobertofi
5854359Srobertoifelse([$3],,
5954359SrobertoAC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
6054359SrobertoAC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
6154359SrobertoAC_REQUIRE([AM_SANITY_CHECK])
6254359SrobertoAC_REQUIRE([AC_ARG_PROGRAM])
6356746SrobertoAM_MISSING_PROG(ACLOCAL, aclocal)
6456746SrobertoAM_MISSING_PROG(AUTOCONF, autoconf)
6556746SrobertoAM_MISSING_PROG(AUTOMAKE, automake)
6656746SrobertoAM_MISSING_PROG(AUTOHEADER, autoheader)
6756746SrobertoAM_MISSING_PROG(MAKEINFO, makeinfo)
6856746SrobertoAM_MISSING_PROG(AMTAR, tar)
6956746SrobertoAM_MISSING_INSTALL_SH
7056746Srobertodnl We need awk for the "check" target.  The system "awk" is bad on
7156746Srobertodnl some platforms.
7256746SrobertoAC_REQUIRE([AC_PROG_AWK])
7356746SrobertoAC_REQUIRE([AC_PROG_MAKE_SET])
7456746SrobertoAC_REQUIRE([AM_DEP_TRACK])
7556746SrobertoAC_REQUIRE([AM_SET_DEPDIR])
7656746Srobertoifdef([AC_PROVIDE_AC_PROG_CC], [AM_DEPENDENCIES(CC)], [
7756746Sroberto   define([AC_PROG_CC], defn([AC_PROG_CC])[AM_DEPENDENCIES(CC)])])
7856746Srobertoifdef([AC_PROVIDE_AC_PROG_CXX], [AM_DEPENDENCIES(CXX)], [
7956746Sroberto   define([AC_PROG_CXX], defn([AC_PROG_CXX])[AM_DEPENDENCIES(CXX)])])
8056746Sroberto])
8154359Sroberto
8254359Sroberto#
8354359Sroberto# Check to make sure that the build environment is sane.
8454359Sroberto#
8554359Sroberto
8654359SrobertoAC_DEFUN(AM_SANITY_CHECK,
8754359Sroberto[AC_MSG_CHECKING([whether build environment is sane])
8854359Sroberto# Just in case
8954359Srobertosleep 1
9054359Srobertoecho timestamp > conftestfile
9154359Sroberto# Do `set' in a subshell so we don't clobber the current shell's
9254359Sroberto# arguments.  Must try -L first in case configure is actually a
9354359Sroberto# symlink; some systems play weird games with the mod time of symlinks
9454359Sroberto# (eg FreeBSD returns the mod time of the symlink's containing
9554359Sroberto# directory).
9654359Srobertoif (
9754359Sroberto   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
9854359Sroberto   if test "[$]*" = "X"; then
9954359Sroberto      # -L didn't work.
10054359Sroberto      set X `ls -t $srcdir/configure conftestfile`
10154359Sroberto   fi
10254359Sroberto   if test "[$]*" != "X $srcdir/configure conftestfile" \
10354359Sroberto      && test "[$]*" != "X conftestfile $srcdir/configure"; then
10454359Sroberto
10554359Sroberto      # If neither matched, then we have a broken ls.  This can happen
10654359Sroberto      # if, for instance, CONFIG_SHELL is bash and it inherits a
10754359Sroberto      # broken ls alias from the environment.  This has actually
10854359Sroberto      # happened.  Such a system could not be considered "sane".
10954359Sroberto      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
11054359Srobertoalias in your environment])
11154359Sroberto   fi
11254359Sroberto
11354359Sroberto   test "[$]2" = conftestfile
11454359Sroberto   )
11554359Srobertothen
11654359Sroberto   # Ok.
11754359Sroberto   :
11854359Srobertoelse
11954359Sroberto   AC_MSG_ERROR([newly created file is older than distributed files!
12054359SrobertoCheck your system clock])
12154359Srobertofi
12254359Srobertorm -f conftest*
12354359SrobertoAC_MSG_RESULT(yes)])
12454359Sroberto
12556746Srobertodnl AM_MISSING_PROG(NAME, PROGRAM)
12656746SrobertoAC_DEFUN(AM_MISSING_PROG, [
12756746SrobertoAC_REQUIRE([AM_MISSING_HAS_RUN])
12856746Sroberto$1=${$1-"${am_missing_run}$2"}
12956746SrobertoAC_SUBST($1)])
13056746Sroberto
13156746Srobertodnl Like AM_MISSING_PROG, but only looks for install-sh.
13256746Srobertodnl AM_MISSING_INSTALL_SH()
13356746SrobertoAC_DEFUN(AM_MISSING_INSTALL_SH, [
13456746SrobertoAC_REQUIRE([AM_MISSING_HAS_RUN])
13556746Srobertoif test -z "$install_sh"; then
13656746Sroberto   install_sh="$ac_aux_dir/install-sh"
13756746Sroberto   test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
13856746Sroberto   test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
13956746Sroberto   dnl FIXME: an evil hack: we remove the SHELL invocation from
14056746Sroberto   dnl install_sh because automake adds it back in.  Sigh.
14156746Sroberto   install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
14256746Srobertofi
14356746SrobertoAC_SUBST(install_sh)])
14456746Sroberto
14556746Srobertodnl AM_MISSING_HAS_RUN.
14656746Srobertodnl Define MISSING if not defined so far and test if it supports --run.
14756746Srobertodnl If it does, set am_missing_run to use it, otherwise, to nothing.
14856746SrobertoAC_DEFUN([AM_MISSING_HAS_RUN], [
14956746Srobertotest x"${MISSING+set}" = xset || \
15056746Sroberto  MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
15156746Srobertodnl Use eval to expand $SHELL
15256746Srobertoif eval "$MISSING --run :"; then
15356746Sroberto  am_missing_run="$MISSING --run "
15454359Srobertoelse
15556746Sroberto  am_missing_run=
15656746Sroberto  AC_MSG_WARN([\`missing' script is too old or missing])
15754359Srobertofi
15856746Sroberto])
15954359Sroberto
16056746Srobertodnl See how the compiler implements dependency checking.
16156746Srobertodnl Usage:
16256746Srobertodnl AM_DEPENDENCIES(NAME)
16356746Srobertodnl NAME is "CC", "CXX" or "OBJC".
16454359Sroberto
16556746Srobertodnl We try a few techniques and use that to set a single cache variable.
16656746Sroberto
16756746SrobertoAC_DEFUN(AM_DEPENDENCIES,[
16856746SrobertoAC_REQUIRE([AM_SET_DEPDIR])
16956746SrobertoAC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
17056746Srobertoifelse([$1],CC,[
17156746SrobertoAC_REQUIRE([AC_PROG_CC])
17256746SrobertoAC_REQUIRE([AC_PROG_CPP])
17356746Srobertodepcc="$CC"
17456746Srobertodepcpp="$CPP"],[$1],CXX,[
17556746SrobertoAC_REQUIRE([AC_PROG_CXX])
17656746SrobertoAC_REQUIRE([AC_PROG_CXXCPP])
17756746Srobertodepcc="$CXX"
17856746Srobertodepcpp="$CXXCPP"],[$1],OBJC,[
17956746Srobertoam_cv_OBJC_dependencies_compiler_type=gcc],[
18056746SrobertoAC_REQUIRE([AC_PROG_][$1])
18156746Srobertodepcc="$[$1]"
18256746Srobertodepcpp=""])
18356746SrobertoAC_MSG_CHECKING([dependency style of $depcc])
18456746SrobertoAC_CACHE_VAL(am_cv_[$1]_dependencies_compiler_type,[
18556746Srobertoif test -z "$AMDEP"; then
18656746Sroberto  echo '#include "conftest.h"' > conftest.c
18756746Sroberto  echo 'int i;' > conftest.h
18856746Sroberto
18956746Sroberto  am_cv_[$1]_dependencies_compiler_type=none
19056746Sroberto  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
19156746Sroberto    case "$depmode" in
19256746Sroberto    nosideeffect)
19356746Sroberto      # after this tag, mechanisms are not by side-effect, so they'll
19456746Sroberto      # only be used when explicitly requested
19556746Sroberto      if test "x$enable_dependency_tracking" = xyes; then
19656746Sroberto	continue
19756746Sroberto      else
19856746Sroberto	break
19956746Sroberto      fi
20056746Sroberto      ;;
20156746Sroberto    none) break ;;
20256746Sroberto    esac
20356746Sroberto    if depmode="$depmode" \
20456746Sroberto       source=conftest.c object=conftest.o \
20556746Sroberto       depfile=conftest.Po tmpdepfile=conftest.TPo \
20656746Sroberto       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
20756746Sroberto       grep conftest.h conftest.Po > /dev/null 2>&1; then
20856746Sroberto      am_cv_[$1]_dependencies_compiler_type="$depmode"
20956746Sroberto      break
21056746Sroberto    fi
21156746Sroberto  done
21256746Sroberto
21356746Sroberto  rm -f conftest.*
21456746Srobertoelse
21556746Sroberto  am_cv_[$1]_dependencies_compiler_type=none
21656746Srobertofi
21756746Sroberto])
21856746SrobertoAC_MSG_RESULT($am_cv_[$1]_dependencies_compiler_type)
21956746Sroberto[$1]DEPMODE="depmode=$am_cv_[$1]_dependencies_compiler_type"
22056746SrobertoAC_SUBST([$1]DEPMODE)
22156746Sroberto])
22256746Sroberto
22356746Srobertodnl Choose a directory name for dependency files.
22456746Srobertodnl This macro is AC_REQUIREd in AM_DEPENDENCIES
22556746Sroberto
22656746SrobertoAC_DEFUN(AM_SET_DEPDIR,[
22756746Srobertoif test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
22856746Sroberto  DEPDIR=.deps
22956746Srobertoelse
23056746Sroberto  DEPDIR=_deps
23156746Srobertofi
23256746SrobertoAC_SUBST(DEPDIR)
23356746Sroberto])
23456746Sroberto
23556746SrobertoAC_DEFUN(AM_DEP_TRACK,[
23656746SrobertoAC_ARG_ENABLE(dependency-tracking,
23756746Sroberto[  --disable-dependency-tracking Speeds up one-time builds
23856746Sroberto  --enable-dependency-tracking  Do not reject slow dependency extractors])
23956746Srobertoif test "x$enable_dependency_tracking" = xno; then
24056746Sroberto  AMDEP="#"
24156746Srobertoelse
24256746Sroberto  am_depcomp="$ac_aux_dir/depcomp"
24356746Sroberto  if test ! -f "$am_depcomp"; then
24456746Sroberto    AMDEP="#"
24556746Sroberto  else
24656746Sroberto    AMDEP=
24756746Sroberto  fi
24856746Srobertofi
24956746SrobertoAC_SUBST(AMDEP)
25056746Srobertoif test -z "$AMDEP"; then
25156746Sroberto  AMDEPBACKSLASH='\'
25256746Srobertoelse
25356746Sroberto  AMDEPBACKSLASH=
25456746Srobertofi
25556746Srobertopushdef([subst], defn([AC_SUBST]))
25656746Srobertosubst(AMDEPBACKSLASH)
25756746Srobertopopdef([subst])
25856746Sroberto])
25956746Sroberto
26056746Srobertodnl Generate code to set up dependency tracking.
26156746Srobertodnl This macro should only be invoked once -- use via AC_REQUIRE.
26256746Srobertodnl Usage:
26356746Srobertodnl AM_OUTPUT_DEPENDENCY_COMMANDS
26456746Sroberto
26556746Srobertodnl
26656746Srobertodnl This code is only required when automatic dependency tracking
26756746Srobertodnl is enabled.  FIXME.  This creates each `.P' file that we will
26856746Srobertodnl need in order to bootstrap the dependency handling code.
26956746SrobertoAC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS,[
27056746SrobertoAC_OUTPUT_COMMANDS([
27156746Srobertotest x"$AMDEP" != x"" ||
27256746Srobertofor mf in $CONFIG_FILES; do
27356746Sroberto  case "$mf" in
27456746Sroberto  Makefile) dirpart=.;;
27556746Sroberto  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
27656746Sroberto  *) continue;;
27756746Sroberto  esac
27856746Sroberto  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
27956746Sroberto  # Extract the definition of DEP_FILES from the Makefile without
28056746Sroberto  # running `make'.
28156746Sroberto  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
28256746Sroberto  test -z "$DEPDIR" && continue
28356746Sroberto  # When using ansi2knr, U may be empty or an underscore; expand it
28456746Sroberto  U=`sed -n -e '/^U = / s///p' < "$mf"`
28556746Sroberto  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
28656746Sroberto  # We invoke sed twice because it is the simplest approach to
28756746Sroberto  # changing $(DEPDIR) to its actual value in the expansion.
28856746Sroberto  for file in `sed -n -e '
28956746Sroberto    /^DEP_FILES = .*\\\\$/ {
29056746Sroberto      s/^DEP_FILES = //
29156746Sroberto      :loop
29256746Sroberto	s/\\\\$//
29356746Sroberto	p
29456746Sroberto	n
29556746Sroberto	/\\\\$/ b loop
29656746Sroberto      p
29756746Sroberto    }
29856746Sroberto    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
29956746Sroberto       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30056746Sroberto    # Make sure the directory exists.
30156746Sroberto    test -f "$dirpart/$file" && continue
30256746Sroberto    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
30356746Sroberto    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
30456746Sroberto    # echo "creating $dirpart/$file"
30556746Sroberto    echo '# dummy' > "$dirpart/$file"
30656746Sroberto  done
30756746Srobertodone
30856746Sroberto], [AMDEP="$AMDEP"
30956746Srobertoac_aux_dir="$ac_aux_dir"])])
31056746Sroberto
31156746Sroberto
31254359Sroberto# serial 1
31354359Sroberto
31454359SrobertoAC_DEFUN(AM_C_PROTOTYPES,
31554359Sroberto[AC_REQUIRE([AM_PROG_CC_STDC])
31654359SrobertoAC_REQUIRE([AC_PROG_CPP])
31754359SrobertoAC_MSG_CHECKING([for function prototypes])
31854359Srobertoif test "$am_cv_prog_cc_stdc" != no; then
31954359Sroberto  AC_MSG_RESULT(yes)
32054359Sroberto  AC_DEFINE(PROTOTYPES,1,[Define if compiler has function prototypes])
32154359Sroberto  U= ANSI2KNR=
32254359Srobertoelse
32354359Sroberto  AC_MSG_RESULT(no)
32454359Sroberto  U=_ ANSI2KNR=./ansi2knr
32554359Sroberto  # Ensure some checks needed by ansi2knr itself.
32654359Sroberto  AC_HEADER_STDC
32754359Sroberto  AC_CHECK_HEADERS(string.h)
32854359Srobertofi
32954359SrobertoAC_SUBST(U)dnl
33054359SrobertoAC_SUBST(ANSI2KNR)dnl
33154359Sroberto])
33254359Sroberto
33354359Sroberto
33454359Sroberto# serial 1
33554359Sroberto
33654359Sroberto# @defmac AC_PROG_CC_STDC
33754359Sroberto# @maindex PROG_CC_STDC
33854359Sroberto# @ovindex CC
33954359Sroberto# If the C compiler in not in ANSI C mode by default, try to add an option
34054359Sroberto# to output variable @code{CC} to make it so.  This macro tries various
34154359Sroberto# options that select ANSI C on some system or another.  It considers the
34254359Sroberto# compiler to be in ANSI C mode if it handles function prototypes correctly.
34354359Sroberto#
34454359Sroberto# If you use this macro, you should check after calling it whether the C
34554359Sroberto# compiler has been set to accept ANSI C; if not, the shell variable
34654359Sroberto# @code{am_cv_prog_cc_stdc} is set to @samp{no}.  If you wrote your source
34754359Sroberto# code in ANSI C, you can make an un-ANSIfied copy of it by using the
34854359Sroberto# program @code{ansi2knr}, which comes with Ghostscript.
34954359Sroberto# @end defmac
35054359Sroberto
35154359SrobertoAC_DEFUN(AM_PROG_CC_STDC,
35254359Sroberto[AC_REQUIRE([AC_PROG_CC])
35354359SrobertoAC_BEFORE([$0], [AC_C_INLINE])
35454359SrobertoAC_BEFORE([$0], [AC_C_CONST])
35554359Srobertodnl Force this before AC_PROG_CPP.  Some cpp's, eg on HPUX, require
35654359Srobertodnl a magic option to avoid problems with ANSI preprocessor commands
35754359Srobertodnl like #elif.
35854359Srobertodnl FIXME: can't do this because then AC_AIX won't work due to a
35954359Srobertodnl circular dependency.
36054359Srobertodnl AC_BEFORE([$0], [AC_PROG_CPP])
36154359SrobertoAC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
36254359SrobertoAC_CACHE_VAL(am_cv_prog_cc_stdc,
36354359Sroberto[am_cv_prog_cc_stdc=no
36454359Srobertoac_save_CC="$CC"
36554359Sroberto# Don't try gcc -ansi; that turns off useful extensions and
36654359Sroberto# breaks some systems' header files.
36754359Sroberto# AIX			-qlanglvl=ansi
36854359Sroberto# Ultrix and OSF/1	-std1
36954359Sroberto# HP-UX 10.20 and later	-Ae
37054359Sroberto# HP-UX older versions	-Aa -D_HPUX_SOURCE
37154359Sroberto# SVR4			-Xc -D__EXTENSIONS__
37254359Srobertofor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
37354359Srobertodo
37454359Sroberto  CC="$ac_save_CC $ac_arg"
37554359Sroberto  AC_TRY_COMPILE(
37654359Sroberto[#include <stdarg.h>
37754359Sroberto#include <stdio.h>
37854359Sroberto#include <sys/types.h>
37954359Sroberto#include <sys/stat.h>
38054359Sroberto/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
38154359Srobertostruct buf { int x; };
38254359SrobertoFILE * (*rcsopen) (struct buf *, struct stat *, int);
38354359Srobertostatic char *e (p, i)
38454359Sroberto     char **p;
38554359Sroberto     int i;
38654359Sroberto{
38754359Sroberto  return p[i];
38854359Sroberto}
38954359Srobertostatic char *f (char * (*g) (char **, int), char **p, ...)
39054359Sroberto{
39154359Sroberto  char *s;
39254359Sroberto  va_list v;
39354359Sroberto  va_start (v,p);
39454359Sroberto  s = g (p, va_arg (v,int));
39554359Sroberto  va_end (v);
39654359Sroberto  return s;
39754359Sroberto}
39854359Srobertoint test (int i, double x);
39954359Srobertostruct s1 {int (*f) (int a);};
40054359Srobertostruct s2 {int (*f) (double a);};
40154359Srobertoint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
40254359Srobertoint argc;
40354359Srobertochar **argv;
40454359Sroberto], [
40554359Srobertoreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
40654359Sroberto],
40754359Sroberto[am_cv_prog_cc_stdc="$ac_arg"; break])
40854359Srobertodone
40954359SrobertoCC="$ac_save_CC"
41054359Sroberto])
41154359Srobertoif test -z "$am_cv_prog_cc_stdc"; then
41254359Sroberto  AC_MSG_RESULT([none needed])
41354359Srobertoelse
41454359Sroberto  AC_MSG_RESULT($am_cv_prog_cc_stdc)
41554359Srobertofi
41654359Srobertocase "x$am_cv_prog_cc_stdc" in
41754359Sroberto  x|xno) ;;
41854359Sroberto  *) CC="$CC $am_cv_prog_cc_stdc" ;;
41954359Srobertoesac
42054359Sroberto])
42154359Sroberto
422