Changeset 19975

Show
Ignore:
Timestamp:
04/21/07 11:58:29 (2 years ago)
Author:
patrick
Message:

We have to check for headers before we check for libraries. I am not sure
how we got away with doing it in the opposite order for so long, but now
that we're looking for Boost.program_options, we have to be sure we know
where Boost is before the tests for Boost.program_options.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vrjuggler/configure.ac

    r19948 r19975  
    153153DPP_PROG_INSTALL 
    154154VJ_LINKER_SETUP 
     155 
     156# ----------------------------------------------------------------------------- 
     157# Checks for header files. 
     158# ----------------------------------------------------------------------------- 
     159AC_HEADER_STDC 
     160AC_CHECK_HEADERS(strings.h sys/time.h unistd.h) 
     161 
     162DPP_LANG_SAVE 
     163DPP_LANG_CPLUSPLUS 
     164AC_CHECK_HEADERS([ext/functional]) 
     165DPP_LANG_RESTORE 
     166 
     167DPP_HAVE_BOOST([1.31.0], [/usr/local], , , 
     168               [AC_MSG_ERROR([*** Boost is required for VR Juggler ***])]) 
     169BOOST_VERSION_DOT="$dpp_boost_version" 
    155170 
    156171# ----------------------------------------------------------------------------- 
     
    394409 
    395410DPP_HAVE_CPPUNIT([1.9.10]) 
    396  
    397 # ----------------------------------------------------------------------------- 
    398 # Checks for header files. 
    399 # ----------------------------------------------------------------------------- 
    400 AC_HEADER_STDC 
    401 AC_CHECK_HEADERS(strings.h sys/time.h unistd.h) 
    402  
    403 DPP_LANG_SAVE 
    404 DPP_LANG_CPLUSPLUS 
    405 AC_CHECK_HEADERS([ext/functional]) 
    406 DPP_LANG_RESTORE 
    407  
    408 DPP_HAVE_BOOST([1.31.0], [/usr/local], , , 
    409                [AC_MSG_ERROR([*** Boost is required for VR Juggler ***])]) 
    410 BOOST_VERSION_DOT="$dpp_boost_version" 
    411411 
    412412# -----------------------------------------------------------------------------