1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

* configure.in: Replaced some AC_CHECK_FUNC --> AC_CHECK_FUNCS so

that suitable HAVE_<function name> symbols get defined.
This commit is contained in:
Mikael Djurfeldt 1998-05-06 14:45:11 +00:00
parent 3b7284cd0e
commit 4c787b5283
4 changed files with 239 additions and 187 deletions

View file

@ -1,3 +1,8 @@
1998-05-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* configure.in: Replaced some AC_CHECK_FUNC --> AC_CHECK_FUNCS so
that suitable HAVE_<function name> symbols get defined.
1998-04-25 Mikael Djurfeldt <mdj@kenneth>
* configure.in: Define USLEEP_RETURNS_VOID on some systems.

399
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -53,11 +53,11 @@ AC_TYPE_SIGNAL
AC_TYPE_MODE_T
AC_CHECK_LIB(m, main)
AC_CHECK_FUNC(gethostbyname)
AC_CHECK_FUNCS(gethostbyname)
if test $ac_cv_func_gethostbyname = no; then
AC_CHECK_LIB(nsl, gethostbyname)
fi
AC_CHECK_FUNC(connect)
AC_CHECK_FUNCS(connect)
if test $ac_cv_func_connect = no; then
AC_CHECK_LIB(socket, connect)
fi
@ -70,18 +70,18 @@ if test "$enable_dynamic_linking" = "yes"; then
AC_CHECK_LIB(dl,dlopen)
if test "$ac_cv_lib_dl_dlopen" = "yes"; then
AC_CHECK_FUNC(dlopen)
AC_CHECK_FUNCS(dlopen)
AC_DEFINE(DYNAMIC_LINKING)
else
AC_CHECK_LIB(dld,dld_link)
if test "$ac_cv_lib_dld_dld_link" = "yes"; then
AC_DEFINE(DYNAMIC_LINKING)
else
AC_CHECK_FUNC(shl_load)
AC_CHECK_FUNCS(shl_load)
if test "$ac_cv_func_shl_load" = "yes"; then
AC_DEFINE(DYNAMIC_LINKING)
else
AC_CHECK_FUNC(dlopen)
AC_CHECK_FUNCS(dlopen)
if test "$ac_cv_func_dlopen" = "yes"; then
AC_DEFINE(DYNAMIC_LINKING)
fi

View file

@ -182,9 +182,15 @@
/* Define if you have the bzero function. */
#undef HAVE_BZERO
/* Define if you have the connect function. */
#undef HAVE_CONNECT
/* Define if you have the ctermid function. */
#undef HAVE_CTERMID
/* Define if you have the dlopen function. */
#undef HAVE_DLOPEN
/* Define if you have the endhostent function. */
#undef HAVE_ENDHOSTENT
@ -209,6 +215,9 @@
/* Define if you have the getgroups function. */
#undef HAVE_GETGROUPS
/* Define if you have the gethostbyname function. */
#undef HAVE_GETHOSTBYNAME
/* Define if you have the gethostent function. */
#undef HAVE_GETHOSTENT
@ -296,6 +305,9 @@
/* Define if you have the setsid function. */
#undef HAVE_SETSID
/* Define if you have the shl_load function. */
#undef HAVE_SHL_LOAD
/* Define if you have the sigaction function. */
#undef HAVE_SIGACTION