some tweaks for building and linking in place before install

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4538 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-03-11 10:30:12 +00:00
parent 3380ee98f8
commit 4852afdaf3
3 changed files with 9 additions and 6 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ dnl may use your version of this file under either the MPL or the
dnl GPL.
dnl
AC_PREREQ(2.12)
AC_PREREQ(2.59)
AC_INIT(config/libc_r.h)
AC_CONFIG_AUX_DIR(${srcdir}/build/autoconf)
@@ -405,8 +405,8 @@ if test "$target" != "$host"; then
AC_MSG_CHECKING([whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works])
AC_TRY_COMPILE([], [return(0);],
[ac_cv_prog_host_cc_works=1 AC_MSG_RESULT([yes])],
AC_MSG_ERROR([installation or configuration problem: $host compiler $HOST_CC cannot create executables.]) )
[ac_cv_prog_host_cc_works=1; AC_MSG_RESULT([yes])],
[AC_MSG_ERROR([installation or configuration problem: $host compiler $HOST_CC cannot create executables.])] )
CC=$_SAVE_CC
CFLAGS=$_SAVE_CFLAGS