configure.in
changeset 302 b6fe2b615045
parent 296 32658d27c62f
child 307 babb5487b60a
equal deleted inserted replaced
301:d4125bc24ac8 302:b6fe2b615045
    55 AC_PROG_CC
    55 AC_PROG_CC
    56 AC_PROG_CXX
    56 AC_PROG_CXX
    57 AC_PROG_INSTALL
    57 AC_PROG_INSTALL
    58 AC_PROG_LN_S
    58 AC_PROG_LN_S
    59 AC_LIBTOOL_WIN32_DLL 
    59 AC_LIBTOOL_WIN32_DLL 
    60 AC_PROG_LIBTOOL
    60 LIBTOOL="libtool"
       
    61 AM_PROG_LIBTOOL
    61 AC_CHECK_PROG(we_have_sed, sed, yes, no)
    62 AC_CHECK_PROG(we_have_sed, sed, yes, no)
    62 
    63 
    63 dnl ---------------------------------------------------------------------
    64 dnl ---------------------------------------------------------------------
    64 dnl Debug mode?
    65 dnl Debug mode?
    65 dnl ---------------------------------------------------------------------
    66 dnl ---------------------------------------------------------------------
   232 AC_CHECK_FUNCS([memset strrchr])
   233 AC_CHECK_FUNCS([memset strrchr])
   233 
   234 
   234 dnl Add Makefile conditionals
   235 dnl Add Makefile conditionals
   235 AM_CONDITIONAL(BUILD_ZLIB, test x$enable_internal_zlib = xyes)
   236 AM_CONDITIONAL(BUILD_ZLIB, test x$enable_internal_zlib = xyes)
   236 AM_CONDITIONAL(BUILD_TEST_PHYSFS, test x$enable_testprog = xyes)
   237 AM_CONDITIONAL(BUILD_TEST_PHYSFS, test x$enable_testprog = xyes)
   237 AM_CONDITIONAL(BUILD_BEOS_CPP, test x$this_is_beos = xyes)
       
   238 AM_CONDITIONAL(BUILD_MACOSX, test x$this_is_macosx = xyes)
   238 AM_CONDITIONAL(BUILD_MACOSX, test x$this_is_macosx = xyes)
       
   239 
       
   240 if test x$this_is_beos = xyes; then
       
   241   BUILD_BEOS_CPP=beos.cpp
       
   242   BUILD_BEOS_EXTRA=
       
   243 else
       
   244   BUILD_BEOS_CPP=
       
   245   BUILD_BEOS_EXTRA=beos.cpp
       
   246 fi
       
   247 
       
   248 AC_SUBST([BUILD_BEOS_CPP])
       
   249 AC_SUBST([BUILD_BEOS_EXTRA])
   239 
   250 
   240 LDFLAGS="$LDFLAGS -no-undefined"
   251 LDFLAGS="$LDFLAGS -no-undefined"
   241 
   252 
   242 AC_OUTPUT([
   253 AC_OUTPUT([
   243 Makefile
   254 Makefile