*** empty log message ***
This commit is contained in:
parent
4da524bd96
commit
772f47e595
21
configure.in
21
configure.in
|
@ -166,6 +166,24 @@ AC_DEFUN(SCSH_LINUX_ELF, [
|
||||||
rm -f conftest.c a.out
|
rm -f conftest.c a.out
|
||||||
])
|
])
|
||||||
|
|
||||||
|
dnl -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||||
|
AC_DEFUN(SCSH_LINUX_STATIC_DEBUG, [
|
||||||
|
case "$host" in
|
||||||
|
*-*-linux* )
|
||||||
|
AC_MSG_CHECKING(for broken Linux that needs -static with -g)
|
||||||
|
AC_CACHE_VAL(scsh_cv_linux_static_debug,[
|
||||||
|
AC_TRY_LINK([],
|
||||||
|
[],
|
||||||
|
$scsh_cv_linux_static_debug = no,
|
||||||
|
$scsh_cv_linux_static_debug = yes)])
|
||||||
|
AC_MSG_RESULT($scsh_cv_linux_static_debug)
|
||||||
|
if test $scsh_cv_linux_static_debug = yes; then
|
||||||
|
LDFLAGS="-static ${LDFLAGS}"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
])
|
||||||
|
|
||||||
dnl -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
dnl -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||||
AC_DEFUN(SCSH_CONST_SYS_ERRLIST,[
|
AC_DEFUN(SCSH_CONST_SYS_ERRLIST,[
|
||||||
AC_MSG_CHECKING(for const sys_errlist)
|
AC_MSG_CHECKING(for const sys_errlist)
|
||||||
|
@ -188,6 +206,7 @@ AC_CONFIG_HEADER(sysdep.h)
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
SCSH_LINUX_STATIC_DEBUG
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
|
@ -253,7 +272,7 @@ case "$host" in
|
||||||
SCSH_LINUX_ELF
|
SCSH_LINUX_ELF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
## NetBSD (maybe FreeBSD and 386BSD also)
|
## NetBSD and FreeBSD( and maybe 386BSD also)
|
||||||
*-*-*bsd* )
|
*-*-*bsd* )
|
||||||
dir=bsd
|
dir=bsd
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue