Annotation of OpenXM/src/kxx/configure.in, Revision 1.5
1.5 ! takayama 1: dnl $OpenXM: OpenXM/src/kxx/configure.in,v 1.4 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(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.5 ! takayama 22: AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(CFLAG2,[" -arch ppc -arch i386"]),AC_SUBST(CFLAG2,[" "]))
! 23:
1.1 takayama 24:
1.4 takayama 25: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>