version 1.6, 2006/10/05 21:14:24 |
version 1.9, 2016/09/19 07:50:02 |
|
|
dnl $OpenXM: OpenXM/src/kxx/configure.in,v 1.5 2006/10/05 20:44:58 takayama Exp $ |
dnl $OpenXM: OpenXM/src/kxx/configure.in,v 1.8 2008/01/12 11:26:16 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 19 if test "$ac_cv_func_dlopen" = no ; then |
|
Line 19 if test "$ac_cv_func_dlopen" = no ; then |
|
AC_CHECK_LIB(dl,dlopen) |
AC_CHECK_LIB(dl,dlopen) |
fi |
fi |
|
|
AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(CFLAG2,[" -arch ppc -arch i386"]),AC_SUBST(CFLAG2,[" "])) |
dnl check if it is MacOS X by heuristic. If so, use static link. |
AC_CHECK_HEADER(sys/appleapiopts.h,AC_SUBST(CFLAG2p,[" -march=ppc -march=i386"]),AC_SUBST(CFLAG2p,[" "])) |
AC_PATH_PROG(MDUTIL,mdutil,none) |
|
if test x"$MDUTIL" = x"none"; then |
|
KANLIB='${KANLIB_SHARED}' |
|
else |
|
KANLIB='${KANLIB_STATIC}' |
|
fi |
|
AC_SUBST(KANLIB,[$KANLIB]) |
|
|
AC_OUTPUT(Makefile) |
AC_OUTPUT(Makefile) |