[BACK]Return to configure.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

Annotation of OpenXM/src/kan96xx/Kan/configure.in, Revision 1.4

1.4     ! takayama    1: dnl  $OpenXM: OpenXM/src/kan96xx/Kan/configure.in,v 1.3 2007/02/19 06:57:14 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:
1.4     ! takayama   27: dnl check if it is MacOS X by heuristic. If so, use static link.
        !            28: AC_PATH_PROG(MDUTIL,mdutil,none)
        !            29: if test x"$MDUTIL" = x"none"; then
        !            30: LIBS2='${LIBS2_SHARED}'
        !            31: else
        !            32: LIBS2='${LIBS2_STATIC}'
        !            33: fi
        !            34: AC_SUBST(LIBS2,[$LIBS2])
1.3       takayama   35:
1.1       takayama   36: AC_OUTPUT(Makefile)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>