Ignore:
Timestamp:
Jun 21, 2012, 12:53:53 AM (7 years ago)
Author:
sam
Message:

build: add more configure checks, mostly for neercs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1485 r1505  
    5858  [  --enable-experimental   experimental build (default no)])
    5959
    60 AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h fastmath.h pthread.h)
     60AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h)
     61AC_CHECK_HEADERS(fastmath.h pthread.h libutil.h util.h pty.h)
     62AC_CHECK_HEADERS(sys/ioctl.h sys/ptrace.h sys/stat.h sys/syscall.h sys/user.h)
     63AC_CHECK_HEADERS(sys/wait.h)
     64AC_CHECK_HEADERS(linux/kdev_t.h linux/major.h)
     65AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h)
    6166
    6267if test "${enable_debug}" = "yes"; then
     
    8792AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
    8893AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
     94AC_CHECK_LIB(util, forkpty, UTIL_LIBS="${UTIL_LIBS} -lutil")
    8995
    9096dnl Are we on the PS3?
     
    355361
    356362
     363dnl Extra libraries we may need
     364AC_SUBST(MATH_LIBS)
     365AC_SUBST(PAM_LIBS)
     366AC_SUBST(UTIL_LIBS)
     367
    357368dnl How to use the Lol Engine inside this tree
    358369LOL_CFLAGS="$LOL_CFLAGS -I \$(top_srcdir)/src"
     
    360371LOL_LIBS="$LOL_LIBS $SDL_LIBS $GL_LIBS $EGL_LIBS $LIBPNG_LIBS $D3D_LIBS"
    361372
    362 AC_SUBST(MATH_LIBS)
    363373AC_SUBST(LOL_CFLAGS)
    364374AC_SUBST(LOL_LIBS)
     375
    365376
    366377AC_CONFIG_FILES(
Note: See TracChangeset for help on using the changeset viewer.