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

Diff of /trunk/configure.ac

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

Revision 29 Revision 33
68 68
69AC_MSG_CHECKING(Checking libc version) 69AC_MSG_CHECKING(Checking libc version)
70echo "int main(void) { return 0; }" > libctest.c 70echo "int main(void) { return 0; }" > libctest.c
71gcc -Wall -o libctest libctest.c 71gcc -Wall -o libctest libctest.c
72LIBC_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}'`
73LIBC_PATH=`ldd libctest | grep libc\\.so | grep -v 'ld-uClibc' | ${AWK} '{print $3}'`
73rm -f libctest 74rm -f libctest
74AC_SUBST(LIBC_VERSION) 75AC_SUBST(LIBC_VERSION)
76AC_SUBST(LIBC_PATH)
75AC_MSG_RESULT(${LIBC_VERSION}) 77AC_MSG_RESULT(${LIBC_VERSION})
76 78
77AC_OUTPUT([Makefile]) 79AC_OUTPUT([Makefile])

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

  ViewVC Help
Powered by ViewVC 1.1.20