* toplev.c (set_float_handler): Use memcpy, not bcopy.
[official-gcc.git] / fastjar / configure.in
blob73eff881381c94f2ef54e69b641642fb014d319e
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(jartool.h)
3 AM_INIT_AUTOMAKE(fastar, 0.92-gcc)
4 AM_CONFIG_HEADER(config.h)
6 dnl Checks for programs.
7 AC_PROG_CC
8 AC_PROG_INSTALL
9 AC_PATH_PROG(RM, rm, /bin/rm, $PATH:/bin:/usr/bin:/usr/local/bin)
10 AC_PATH_PROG(CP, cp, /bin/cp, $PATH:/bin:/usr/bin:/usr/local/bin)
11 AC_PATH_PROG(STRIP, strip, /usr/bin/strip, $PATH:/bin:/usr/bin:/usr/local/bin)
12 AC_PATH_PROG(CHMOD, chmod, /bin/chmod, $PATH:/bin:/usr/bin:/usr/local/bin)
14 dnl Add warning flags if we are using gcc.
15 if test "$GCC" = yes; then
16   fastjar_warn_cflags='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
18 AC_SUBST(fastjar_warn_cflags)
20 dnl Checks for header files.
21 AC_HEADER_DIRENT
22 AC_HEADER_STDC
23 AC_STRUCT_TM
24 AC_CHECK_HEADERS(fcntl.h unistd.h sys/param.h getopt.h)
26 dnl Checks for typedefs, structures, and compiler characteristics.
27 AC_TYPE_OFF_T
28 AC_STRUCT_TM
30 dnl Check for type-widths
31 AC_CHECK_SIZEOF(char)
32 AC_CHECK_SIZEOF(short)
33 AC_CHECK_SIZEOF(int)
34 AC_CHECK_SIZEOF(long)
35 AC_CHECK_SIZEOF(long long)
37 dnl Check byte order
38 AC_C_BIGENDIAN
40 dnl Brain dead check for tree's zlib
41 ZDEPS='$(top_builddir)/../zlib/libz.a'
42 ZLIBS="$ZDEPS -L\$(here)/../zlib/$libsubdir"
43 ZINCS='-I$(top_srcdir)/../zlib'
44 AC_SUBST(ZLIBS)
45 AC_SUBST(ZDEPS)
46 AC_SUBST(ZINCS)
48 AC_OUTPUT(Makefile install-defs.sh)