mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-02 16:01:20 +03:00
* configure.in: We need to test for the compiler earlier.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2009-04-03 Ulrich Drepper <drepper@redhat.com>
|
2009-04-03 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: We need to test for the compiler earlier.
|
||||||
|
|
||||||
* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.
|
* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.
|
||||||
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for
|
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for
|
||||||
GLIBC_2.10.
|
GLIBC_2.10.
|
||||||
|
17
configure.in
17
configure.in
@@ -6,6 +6,15 @@ AC_CONFIG_SRCDIR([include/features.h])
|
|||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_AUX_DIR([scripts])
|
AC_CONFIG_AUX_DIR([scripts])
|
||||||
|
|
||||||
|
AC_PROG_CC
|
||||||
|
if test $host != $build; then
|
||||||
|
AC_CHECK_PROGS(BUILD_CC, gcc cc)
|
||||||
|
fi
|
||||||
|
AC_SUBST(cross_compiling)
|
||||||
|
AC_PROG_CPP
|
||||||
|
# We need the C++ compiler only for testing.
|
||||||
|
AC_PROG_CXX
|
||||||
|
|
||||||
if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
|
if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
|
||||||
AC_MSG_ERROR([you must configure in a separate build directory])
|
AC_MSG_ERROR([you must configure in a separate build directory])
|
||||||
fi
|
fi
|
||||||
@@ -882,14 +891,6 @@ if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
|
|||||||
fi
|
fi
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
|
|
||||||
AC_PROG_CC
|
|
||||||
if test $host != $build; then
|
|
||||||
AC_CHECK_PROGS(BUILD_CC, gcc cc)
|
|
||||||
fi
|
|
||||||
AC_SUBST(cross_compiling)
|
|
||||||
AC_PROG_CPP
|
|
||||||
# We need the C++ compiler only for testing.
|
|
||||||
AC_PROG_CXX
|
|
||||||
LIBC_PROG_BINUTILS
|
LIBC_PROG_BINUTILS
|
||||||
AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in
|
AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user