/[m4]/m4/aclocal.m4
ViewVC logotype

Diff of /m4/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by gary, Fri Nov 24 01:31:32 2000 UTC revision 1.3 by akim, Mon Aug 27 07:49:30 2001 UTC
# Line 1  Line 1 
1  # Local additions to Autoconf macros.  m4_include([acinclude.m4])
2  # Copyright (C) 1992, 1994 Free Software Foundation, Inc.  m4_include([config/auxdir.m4])
3  # Francois Pinard <pinard@iro.umontreal.ca>, 1992.  m4_include([config/ccstdc.m4])
4    m4_include([config/codeset.m4])
5  # @defmac AC_PROG_CC_STDC  m4_include([config/cond.m4])
6  # @maindex PROG_CC_STDC  m4_include([config/debug.m4])
7  # @ovindex CC  m4_include([config/depend.m4])
8  # If the C compiler in not in ANSI C mode by default, try to add an option  m4_include([config/depout.m4])
9  # to output variable @code{CC} to make it so.  This macro tries various  m4_include([config/dmalloc.m4])
10  # options that select ANSI C on some system or another.  It considers the  m4_include([config/error.m4])
11  # compiler to be in ANSI C mode if it defines @code{__STDC__} to 1 and  m4_include([config/gettext.m4])
12  # handles function prototypes correctly.  m4_include([config/glibc21.m4])
13  #  m4_include([config/gmp.m4])
14  # If you use this macro, you should check after calling it whether the C  m4_include([config/gnu-obstack.m4])
15  # compiler has been set to accept ANSI C; if not, the shell variable  m4_include([config/header.m4])
16  # @code{ac_cv_prog_cc_stdc} is set to @samp{no}.  If you wrote your source  m4_include([config/iconv.m4])
17  # code in ANSI C, you can make an un-ANSIfied copy of it by using the  m4_include([config/init.m4])
18  # program @code{ansi2knr}, which comes with Ghostscript.  m4_include([config/install-sh.m4])
19  # @end defmac  m4_include([config/isc-posix.m4])
20    m4_include([config/lcmessage.m4])
21  define(fp_PROG_CC_STDC,  m4_include([config/make.m4])
22  [AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)  m4_include([config/missing.m4])
23  AC_CACHE_VAL(ac_cv_prog_cc_stdc,  m4_include([config/progtest.m4])
24  [ac_cv_prog_cc_stdc=no  m4_include([config/protos.m4])
25  ac_save_CFLAGS="$CFLAGS"  m4_include([config/regex.m4])
26  # Don't try gcc -ansi; that turns off useful extensions and  m4_include([config/sanity.m4])
27  # breaks some systems' header files.  m4_include([config/stackovf.m4])
28  # AIX                   -qlanglvl=ansi  m4_include([config/strip.m4])
29  # Ultrix and OSF/1      -std1  # Help Automake understand includes.
30  # HP-UX                 -Aa -D_HPUX_SOURCE  # It doesn't see AC_SUBSTs.
31  # SVR4                  -Xc  AC_SUBST([ac_aux_dir])
32  for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc  AC_SUBST([ac_ct_AS])
33  do  AC_SUBST([ac_ct_CC])
34    CFLAGS="$ac_save_CFLAGS $ac_arg"  AC_SUBST([ac_ct_CXX])
35    AC_TRY_COMPILE(  AC_SUBST([ac_ct_DLLTOOL])
36  [#if !defined(__STDC__) || __STDC__ != 1  AC_SUBST([ac_ct_OBJDUMP])
37  choke me  AC_SUBST([ac_ct_RANLIB])
38  #endif    AC_SUBST([ac_ct_STRIP])
39  ], [int test (int i, double x);  AC_SUBST([ACLOCAL])
40  struct s1 {int (*f) (int a);};  AC_SUBST([ALLOCA])
41  struct s2 {int (*f) (double a);};],  AC_SUBST([AMDEP_FALSE])
42  [ac_cv_prog_cc_stdc="$ac_arg"; break])  AC_SUBST([AMDEP_TRUE])
43  done  AC_SUBST([am__include])
44  CFLAGS="$ac_save_CFLAGS"  AC_SUBST([am__quote])
45  ])  AC_SUBST([AMTAR])
46  AC_MSG_RESULT($ac_cv_prog_cc_stdc)  AC_SUBST([ANSI2KNR])
47  case "x$ac_cv_prog_cc_stdc" in  AC_SUBST([AS])
48    x|xno) ;;  AC_SUBST([AUTOCONF])
49    *) CC="$CC $ac_cv_prog_cc_stdc" ;;  AC_SUBST([AUTOHEADER])
50  esac  AC_SUBST([AUTOMAKE])
51  ])  AC_SUBST([AWK])
52    AC_SUBST([bindir])
53  # Check for function prototypes.  AC_SUBST([build])
54    AC_SUBST([build_alias])
55  AC_DEFUN(fp_C_PROTOTYPES,  AC_SUBST([build_cpu])
56  [AC_REQUIRE([fp_PROG_CC_STDC])  AC_SUBST([BUILD_INCLUDED_LIBINTL])
57  AC_MSG_CHECKING([for function prototypes])  AC_SUBST([build_os])
58  if test "$ac_cv_prog_cc_stdc" != no; then  AC_SUBST([build_vendor])
59    AC_MSG_RESULT(yes)  AC_SUBST([CATALOGS])
60    AC_DEFINE(PROTOTYPES)  AC_SUBST([CATOBJEXT])
61    U= ANSI2KNR=  AC_SUBST([CC])
62  else  AC_SUBST([CCDEPMODE])
63    AC_MSG_RESULT(no)  AC_SUBST([CFLAGS])
64    U=_ ANSI2KNR=ansi2knr  AC_SUBST([CONVENIENCE_LTDL_FALSE])
65  fi  AC_SUBST([CONVENIENCE_LTDL_TRUE])
66  AC_SUBST(U)dnl  AC_SUBST([CPP])
67  AC_SUBST(ANSI2KNR)dnl  AC_SUBST([CPPFLAGS])
68  ])  AC_SUBST([CXX])
69    AC_SUBST([CXXCPP])
70  # Check if --with-dmalloc was given.  AC_SUBST([CXXDEPMODE])
71    AC_SUBST([CXXFLAGS])
72  AC_DEFUN(fp_WITH_DMALLOC,  AC_SUBST([datadir])
73  [AC_MSG_CHECKING(if malloc debugging is wanted)  AC_SUBST([DATADIRNAME])
74  AC_ARG_WITH(dmalloc,  AC_SUBST([DEFS])
75  [  --with-dmalloc          use dmalloc, as in dmalloc.tar.gz from  AC_SUBST([DEPDIR])
76                            @/ftp.antaire.com:antaire/src/dmalloc.],  AC_SUBST([DLLTOOL])
77  [if test "$withval" = yes; then  AC_SUBST([DLPREOPEN])
78    AC_MSG_RESULT(yes)  AC_SUBST([ECHO])
79    AC_DEFINE(WITH_DMALLOC)  AC_SUBST([ECHO_C])
80    LIBS="$LIBS -ldmalloc"  AC_SUBST([ECHO_N])
81    LDFLAGS="$LDFLAGS -g"  AC_SUBST([ECHO_T])
82  else  AC_SUBST([ENABLE_CHANGEWORD])
83    AC_MSG_RESULT(no)  AC_SUBST([exec_prefix])
84  fi], [AC_MSG_RESULT(no)])])  AC_SUBST([EXEEXT])
85    AC_SUBST([GENCAT])
86    AC_SUBST([GLIBC21])
87    AC_SUBST([GMOFILES])
88    AC_SUBST([GMSGFMT])
89    AC_SUBST([host])
90    AC_SUBST([host_alias])
91    AC_SUBST([host_cpu])
92    AC_SUBST([host_os])
93    AC_SUBST([host_vendor])
94    AC_SUBST([includedir])
95    AC_SUBST([infodir])
96    AC_SUBST([INSTALL_DATA])
97    AC_SUBST([INSTALL_LTDL_FALSE])
98    AC_SUBST([INSTALL_LTDL_TRUE])
99    AC_SUBST([INSTALL_PROGRAM])
100    AC_SUBST([INSTALL_SCRIPT])
101    AC_SUBST([install_sh])
102    AC_SUBST([INSTALL_STRIP_PROGRAM])
103    AC_SUBST([INSTOBJEXT])
104    AC_SUBST([INTLBISON])
105    AC_SUBST([INTLINCL])
106    AC_SUBST([INTLLIBS])
107    AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
108    AC_SUBST([INTLOBJS])
109    AC_SUBST([LDFLAGS])
110    AC_SUBST([LIBADD_DL])
111    AC_SUBST([libdir])
112    AC_SUBST([libexecdir])
113    AC_SUBST([LIBICONV])
114    AC_SUBST([LIBOBJS])
115    AC_SUBST([LIBS])
116    AC_SUBST([LIBTOOL])
117    AC_SUBST([LN_S])
118    AC_SUBST([localstatedir])
119    AC_SUBST([LTLIBOBJS])
120    AC_SUBST([M4OBJS])
121    AC_SUBST([MAKEINFO])
122    AC_SUBST([mandir])
123    AC_SUBST([MKINSTALLDIRS])
124    AC_SUBST([MSGFMT])
125    AC_SUBST([OBJDUMP])
126    AC_SUBST([OBJEXT])
127    AC_SUBST([OBSTACK_H])
128    AC_SUBST([oldincludedir])
129    AC_SUBST([PACKAGE])
130    AC_SUBST([PACKAGE_BUGREPORT])
131    AC_SUBST([PACKAGE_NAME])
132    AC_SUBST([PACKAGE_STRING])
133    AC_SUBST([PACKAGE_TARNAME])
134    AC_SUBST([PACKAGE_VERSION])
135    AC_SUBST([PATH_SEPARATOR])
136    AC_SUBST([PERL])
137    AC_SUBST([pkglibexecdir])
138    AC_SUBST([POFILES])
139    AC_SUBST([POSUB])
140    AC_SUBST([prefix])
141    AC_SUBST([program_transform_name])
142    AC_SUBST([RANLIB])
143    AC_SUBST([sbindir])
144    AC_SUBST([SET_MAKE])
145    AC_SUBST([sharedstatedir])
146    AC_SUBST([SHELL])
147    AC_SUBST([STACKOVF])
148    AC_SUBST([STRIP])
149    AC_SUBST([sysconfdir])
150    AC_SUBST([target_alias])
151    AC_SUBST([U])
152    AC_SUBST([USE_INCLUDED_LIBINTL])
153    AC_SUBST([USE_NLS])
154    AC_SUBST([VERSION])
155    AC_SUBST([WITH_GMP])
156    AC_SUBST([XGETTEXT])
157    # It doesn't see AM_CONDITIONALs.
158    AM_CONDITIONAL([AMDEP])
159    AM_CONDITIONAL([CONVENIENCE_LTDL])
160    AM_CONDITIONAL([INSTALL_LTDL])

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26