configure.in
changeset 604 ea8664e863c2
parent 602 691c1eadb8b7
child 609 3a91332776e0
equal deleted inserted replaced
603:e10700854f41 604:ea8664e863c2
   217   AC_CHECK_HEADER(readline/history.h, have_history_hdr=yes)
   217   AC_CHECK_HEADER(readline/history.h, have_history_hdr=yes)
   218   AC_CHECK_LIB(readline, add_history, have_history_lib=yes, , -lcurses)
   218   AC_CHECK_LIB(readline, add_history, have_history_lib=yes, , -lcurses)
   219   if test x$have_readline_hdr = xyes -a x$have_readline_lib = xyes; then
   219   if test x$have_readline_hdr = xyes -a x$have_readline_lib = xyes; then
   220     if test x$have_history_hdr = xyes -a x$have_history_lib = xyes; then
   220     if test x$have_history_hdr = xyes -a x$have_history_lib = xyes; then
   221       AC_DEFINE([PHYSFS_HAVE_READLINE], 1, [define if we have readline])
   221       AC_DEFINE([PHYSFS_HAVE_READLINE], 1, [define if we have readline])
   222       LIBS="$LIBS -lreadline -lcurses"
   222       have_readline="yes"
   223     fi
   223     fi
   224   fi
   224   fi
   225 fi
   225 fi
   226 
   226 
   227 dnl !!! FIXME: Not sure how to detect this...
   227 dnl !!! FIXME: Not sure how to detect this...
   487 AM_CONDITIONAL(BUILD_ZLIB, test x$enable_internal_zlib = xyes)
   487 AM_CONDITIONAL(BUILD_ZLIB, test x$enable_internal_zlib = xyes)
   488 AM_CONDITIONAL(BUILD_TEST_PHYSFS, test x$enable_testprog = xyes)
   488 AM_CONDITIONAL(BUILD_TEST_PHYSFS, test x$enable_testprog = xyes)
   489 AM_CONDITIONAL(BUILD_MACOSX, test x$this_is_macosx = xyes)
   489 AM_CONDITIONAL(BUILD_MACOSX, test x$this_is_macosx = xyes)
   490 AM_CONDITIONAL(BUILD_BEOS, test x$this_is_beos = xyes)
   490 AM_CONDITIONAL(BUILD_BEOS, test x$this_is_beos = xyes)
   491 AM_CONDITIONAL(BUILD_CYGWIN, test x$this_is_cygwin = xyes)
   491 AM_CONDITIONAL(BUILD_CYGWIN, test x$this_is_cygwin = xyes)
       
   492 AM_CONDITIONAL(BUILD_READLINE, test x$have_readline = xyes)
   492 
   493 
   493 AC_OUTPUT([
   494 AC_OUTPUT([
   494 Makefile
   495 Makefile
   495 archivers/Makefile
   496 archivers/Makefile
   496 platform/Makefile
   497 platform/Makefile