Checking for the strip application needs to be done with AC_PATH_TOOL

instead of AC_PATH_PROG to properly handle cross compilation environments.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-05-24 20:42:53 +00:00
parent d5d3acb67f
commit c061b86966
3 changed files with 1717 additions and 5365 deletions

7076
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -128,6 +128,8 @@ AC_PROG_LN_S
AC_PROG_RANLIB
AST_CHECK_GNU_MAKE
AC_PATH_TOOL([STRIP], [strip], :)
GNU_LD=0
if test "x$with_gnu_ld" = "xyes" ; then
GNU_LD=1
@@ -144,7 +146,6 @@ AC_PATH_PROG([DIRNAME], [dirname], :)
AC_PATH_PROG([SHELL], [sh], :)
AC_PATH_PROG([LN], [ln], :)
AC_PATH_PROG([DOT], [dot], :)
AC_PATH_PROG([STRIP], [strip], :)
AC_PATH_PROG([WGET], [wget], :)
if test "${WGET}" != ":" ; then
DOWNLOAD=${WGET}

View File

@@ -605,6 +605,9 @@
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Define like PROTOTYPES; this can be used by system headers. */
#undef __PROTOTYPES