version 1.2, 2000/02/07 11:02:27 |
version 1.7, 2006/10/08 23:49:18 |
|
|
dnl $OpenXM: OpenXM/src/kxx/configure.in,v 1.1 2000/02/01 09:59:43 takayama Exp $ |
dnl $OpenXM: OpenXM/src/kxx/configure.in,v 1.6 2006/10/05 21:14:24 takayama Exp $ |
dnl If you change this file, do not forget to run autoconf and rm .configure_done |
dnl If you change this file, do not forget to run autoconf and rm .configure_done |
|
|
|
|
Line 14 AC_CHECK_FUNC(gethostbyname) |
|
Line 14 AC_CHECK_FUNC(gethostbyname) |
|
if test "$ac_cv_func_gethostbyname" = no ; then |
if test "$ac_cv_func_gethostbyname" = no ; then |
AC_CHECK_LIB(nsl,gethostbyname) |
AC_CHECK_LIB(nsl,gethostbyname) |
fi |
fi |
|
AC_CHECK_FUNC(dlopen) |
|
if test "$ac_cv_func_dlopen" = no ; then |
|
AC_CHECK_LIB(dl,dlopen) |
|
fi |
|
|
|
AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(CFLAG2,[" -arch ppc -arch i386"]),AC_SUBST(CFLAG2,[" "])) |
|
AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(CFLAG2p,[" -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk "]),AC_SUBST(CFLAG2p,[" "])) |
|
|
|
|
AC_OUTPUT(Makefile) |
|
|
|
|
AC_OUTPUT(Makefile) |