Changeset 152 for trunk


Ignore:
Timestamp:
06/06/2008 08:29:22 AM (4 years ago)
Author:
guyru
Message:

add a check for wxwidgets to the configure.ac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r149 r152  
    99dnl AM_PROG_LIBTOOL 
    1010 
     11AM_OPTIONS_WXCONFIG 
     12#Detect wxWidgets 
     13MIN_WX_VERSION="2.8.0" 
     14AM_PATH_WXCONFIG($MIN_WX_VERSION, wxWin=1) 
     15if test "$wxWin" != 1; then 
     16AC_MSG_ERROR([ 
     17        wxWidgets must be installed on your system 
     18        but wx-config script couldn't be found. 
     19 
     20        Please check that wx-config is in path, the directory 
     21        where wxWidgets libraries are installed (returned by 
     22        'wx-config --libs' command) is in LD_LIBRARY_PATH or 
     23        equivalent variable and wxWidgets version is $MIN_WX_VERSION or above. 
     24]) 
     25fi 
     26 
     27 
    1128AC_CONFIG_FILES([Makefile src/Makefile]) 
    1229AC_OUTPUT 
Note: See TracChangeset for help on using the changeset viewer.