[BACK]Return to configure.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / oxc

File: [local] / OpenXM / src / oxc / configure.in (download)

Revision 1.2, Tue Nov 11 04:30:02 2003 UTC (20 years, 6 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX
Changes since 1.1: +5 -1 lines

Added a check of dlopen for Redhat.

dnl  $OpenXM: OpenXM/src/oxc/configure.in,v 1.2 2003/11/11 04:30:02 takayama Exp $
dnl  If you change this file, do not forget to run autoconf and rm .configure_done

AC_INIT(oxc.c)
AC_PROG_CC
AC_PATH_XTRA

AC_CHECK_FUNC(socket)
if test "$ac_cv_func_socket" = no ; then
  AC_CHECK_LIB(socket,socket)
fi
AC_CHECK_FUNC(gethostbyname)
if test "$ac_cv_func_gethostbyname" = no ; then
  AC_CHECK_LIB(nsl,gethostbyname)
fi
AC_CHECK_FUNC(dlopen)
if test "$ac_cv_func_dlopen" = no ; then
  AC_CHECK_LIB(dl,dlopen)
fi

AC_OUTPUT(Makefile)