"Fossies" - the Fresh Open Source Software Archive 
Member "which-2.21/configure.ac" (19 Mar 2015, 1357 Bytes) of package /linux/privat/which-2.21.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "configure.ac":
2.20_vs_2.21.
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT([which], [2.21])
3 AC_CONFIG_SRCDIR(which.c)
4 AM_INIT_AUTOMAKE
5 AM_CONFIG_HEADER(config.h)
6 AM_MAINTAINER_MODE
7
8 dnl Because we use cwautomacros.
9 CW_AUTOMACROS
10
11 which_cv_iberty=yes
12 AC_ARG_ENABLE(iberty,
13 [ --disable-iberty do not try to find and use the iberty library],
14 which_cv_iberty=$enableval)
15
16 dnl Checks for programs.
17 AC_PROG_CC
18 AC_PROG_INSTALL
19 AC_LANG_C
20 AC_MINIX
21
22 dnl Checks for libraries.
23 if test "$which_cv_iberty" = yes ; then
24 AC_CHECK_STATICLIB(libiberty.a, xmalloc)
25 fi
26
27 dnl Checks for header files.
28 AC_HEADER_STDC
29 AC_CHECK_HEADERS(unistd.h string.h libiberty.h)
30 AC_HEADER_STAT
31
32 dnl Checks for typedefs, structures, and compiler characteristics.
33 AC_C_CONST
34 AC_TYPE_SIZE_T
35
36 dnl Checks for library functions.
37 AC_TYPE_GETGROUPS
38 AC_CHECK_FUNCS(strchr memcpy getopt_long getcwd getwd sysconf getgroups eaccess)
39
40 if test "$ac_cv_lib_static_libiberty_a_xmalloc" = no \
41 -o "$which_cv_iberty" = no ; then
42 AC_DEFINE([NEED_XMALLOC], 1, [Define if you need xmalloc().])
43 fi
44
45 dnl Additional stuff needed for the tilde directory
46 AC_CHECK_PROG(AR, ar, ar, ar)
47 AC_PROG_RANLIB
48 AC_CHECK_HEADERS(stdlib.h memory.h pwd.h strings.h)
49 AC_CHECK_FUNCS(getpwent getpwnam getpwuid)
50 BASH_CHECK_GETPW_FUNCS
51
52 dnl Generate output files.
53 AC_OUTPUT([Makefile maintMakefile tilde/Makefile])