Annotation of OpenXM/src/kan96xx/Kan/configure.in, Revision 1.3
1.3 ! takayama 1: dnl $OpenXM: OpenXM/src/kan96xx/Kan/configure.in,v 1.2 2003/11/10 12:08:03 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(sm.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)
1.2 takayama 16: fi
17: AC_CHECK_FUNC(dlopen)
18: if test "$ac_cv_func_dlopen" = no ; then
19: AC_CHECK_LIB(dl,dlopen)
1.1 takayama 20: fi
21:
22:
1.3 ! takayama 23: AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(CFLAG2,[" -arch ppc -arch i386"]),AC_SUBST(CFLAG2,[" "]))
! 24: AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(CFLAG2p,[" -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk "]),AC_SUBST(CFLAG2p,[" "]))
! 25: AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(AR,["libtool"]),AC_SUBST(AR,["ar"]))
! 26:
! 27:
1.1 takayama 28: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>