Annotation of OpenXM/src/kxx/configure.in, Revision 1.9
1.9 ! takayama 1: dnl $OpenXM: OpenXM/src/kxx/configure.in,v 1.8 2008/01/12 11:26:16 takayama Exp $
1.1 takayama 2: dnl If you change this file, do not forget to run autoconf and rm .configure_done
3:
4:
5: AC_INIT(oxmain.c)
6: AC_PROG_CC
7: AC_PROG_RANLIB
8:
9: AC_CHECK_FUNC(socket)
10: if test "$ac_cv_func_socket" = no ; then
11: AC_CHECK_LIB(socket,socket)
1.2 takayama 12: fi
13: AC_CHECK_FUNC(gethostbyname)
14: if test "$ac_cv_func_gethostbyname" = no ; then
15: AC_CHECK_LIB(nsl,gethostbyname)
1.1 takayama 16: fi
1.4 takayama 17: AC_CHECK_FUNC(dlopen)
18: if test "$ac_cv_func_dlopen" = no ; then
19: AC_CHECK_LIB(dl,dlopen)
20: fi
1.3 takayama 21:
1.9 ! takayama 22: dnl check if it is MacOS X by heuristic. If so, use static link.
! 23: AC_PATH_PROG(MDUTIL,mdutil,none)
! 24: if test x"$MDUTIL" = x"none"; then
! 25: KANLIB='${KANLIB_SHARED}'
! 26: else
! 27: KANLIB='${KANLIB_STATIC}'
! 28: fi
! 29: AC_SUBST(KANLIB,[$KANLIB])
1.1 takayama 30:
1.4 takayama 31: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>