Annotation of OpenXM/src/k097/configure.in, Revision 1.3
1.3 ! takayama 1: dnl $OpenXM: OpenXM/src/k097/configure.in,v 1.2 2003/11/11 04:20:33 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(d.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)
12: fi
13: AC_CHECK_FUNC(gethostbyname)
14: if test "$ac_cv_func_gethostbyname" = no ; then
15: AC_CHECK_LIB(nsl,gethostbyname)
16: fi
1.2 takayama 17: AC_CHECK_FUNC(dlopen)
18: if test "$ac_cv_func_dlopen" = no ; then
19: AC_CHECK_LIB(dl,dlopen)
20: fi
1.1 takayama 21:
1.3 ! 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])
! 30:
1.1 takayama 31:
1.2 takayama 32: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>