/[path-sandbox]/trunk/configure.ac
Gentoo

Diff of /trunk/configure.ac

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

Revision 23 Revision 29
3AM_INIT_AUTOMAKE 3AM_INIT_AUTOMAKE
4AC_CONFIG_HEADER([config.h]) 4AC_CONFIG_HEADER([config.h])
5 5
6# Checks for programs. 6# Checks for programs.
7AC_PROG_CC 7AC_PROG_CC
8AC_ISC_POSIX
9AC_PROG_INSTALL
10AC_PROG_MAKE_SET
11AC_PROG_AWK
12
8AC_ENABLE_SHARED 13AC_ENABLE_SHARED
9AC_DISABLE_STATIC 14AC_DISABLE_STATIC
10AC_PROG_LIBTOOL 15AC_PROG_LIBTOOL
11 16
12AC_PREFIX_DEFAULT([/usr]) 17AC_PREFIX_DEFAULT([/usr])
18
13# Checks for libraries. 19# Checks for libraries.
14# Checks for header files. 20# Checks for header files.
15AC_FUNC_ALLOCA 21AC_FUNC_ALLOCA
16AC_HEADER_DIRENT 22AC_HEADER_DIRENT
17AC_HEADER_STDC 23AC_HEADER_STDC
61fi 67fi
62 68
63AC_MSG_CHECKING(Checking libc version) 69AC_MSG_CHECKING(Checking libc version)
64echo "int main(void) { return 0; }" > libctest.c 70echo "int main(void) { return 0; }" > libctest.c
65gcc -Wall -o libctest libctest.c 71gcc -Wall -o libctest libctest.c
66LIBC_VERSION=`ldd libctest | grep libc\\.so | grep -v 'ld-uClibc' | awk '{print $1}'` 72LIBC_VERSION=`ldd libctest | grep libc\\.so | grep -v 'ld-uClibc' | ${AWK} '{print $1}'`
67rm -f libctest 73rm -f libctest
68AC_SUBST(LIBC_VERSION) 74AC_SUBST(LIBC_VERSION)
69AC_MSG_RESULT(${LIBC_VERSION}) 75AC_MSG_RESULT(${LIBC_VERSION})
70 76
71AC_OUTPUT([Makefile]) 77AC_OUTPUT([Makefile])

Legend:
Removed from v.23  
changed lines
  Added in v.29

  ViewVC Help
Powered by ViewVC 1.1.20