mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
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:
@@ -128,6 +128,8 @@ AC_PROG_LN_S
|
|||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AST_CHECK_GNU_MAKE
|
AST_CHECK_GNU_MAKE
|
||||||
|
|
||||||
|
AC_PATH_TOOL([STRIP], [strip], :)
|
||||||
|
|
||||||
GNU_LD=0
|
GNU_LD=0
|
||||||
if test "x$with_gnu_ld" = "xyes" ; then
|
if test "x$with_gnu_ld" = "xyes" ; then
|
||||||
GNU_LD=1
|
GNU_LD=1
|
||||||
@@ -144,7 +146,6 @@ AC_PATH_PROG([DIRNAME], [dirname], :)
|
|||||||
AC_PATH_PROG([SHELL], [sh], :)
|
AC_PATH_PROG([SHELL], [sh], :)
|
||||||
AC_PATH_PROG([LN], [ln], :)
|
AC_PATH_PROG([LN], [ln], :)
|
||||||
AC_PATH_PROG([DOT], [dot], :)
|
AC_PATH_PROG([DOT], [dot], :)
|
||||||
AC_PATH_PROG([STRIP], [strip], :)
|
|
||||||
AC_PATH_PROG([WGET], [wget], :)
|
AC_PATH_PROG([WGET], [wget], :)
|
||||||
if test "${WGET}" != ":" ; then
|
if test "${WGET}" != ":" ; then
|
||||||
DOWNLOAD=${WGET}
|
DOWNLOAD=${WGET}
|
||||||
|
@@ -605,6 +605,9 @@
|
|||||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||||
# undef _POSIX_PTHREAD_SEMANTICS
|
# undef _POSIX_PTHREAD_SEMANTICS
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef _TANDEM_SOURCE
|
||||||
|
# undef _TANDEM_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define like PROTOTYPES; this can be used by system headers. */
|
/* Define like PROTOTYPES; this can be used by system headers. */
|
||||||
#undef __PROTOTYPES
|
#undef __PROTOTYPES
|
||||||
|
Reference in New Issue
Block a user