/[weechat]/weechat/configure.in
ViewVC logotype

Diff of /weechat/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by bpapillault, Sun Apr 24 11:08:23 2005 UTC revision 1.43 by flashcode, Sun Apr 24 12:01:23 2005 UTC
# Line 37  AM_GNU_GETTEXT Line 37  AM_GNU_GETTEXT
37  AC_CHECK_LIB([ncurses], [initscr], LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)  AC_CHECK_LIB([ncurses], [initscr], LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
38    
39  AM_OPTIONS_WXCONFIG  AM_OPTIONS_WXCONFIG
   
40  AM_PATH_WXCONFIG(2.3.4, wxWin=1)  AM_PATH_WXCONFIG(2.3.4, wxWin=1)
 if test "$wxWin" != 1; then  
    AC_MSG_ERROR([  
            wxWindows must be installed on your system  
            but wx-config script couldn't be found.  
   
            Please check that wx-config is in path, the directory  
            where wxWindows libraries are installed (returned by  
            'wx-config --libs' command) is in LD_LIBRARY_PATH or  
            equivalent variable and wxWindows version is 2.3.4 or above.  
    ])  
 fi  
41    
42  CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"  CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
43  CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"  CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
# Line 103  if test "x$enable_ncurses" = "xyes" ; th Line 91  if test "x$enable_ncurses" = "xyes" ; th
91  fi  fi
92    
93  if test "x$enable_wxwidgets" = "xyes" ; then  if test "x$enable_wxwidgets" = "xyes" ; then
94     WXWIDGETS_CFLAGS=""      if test "$wxWin" != 1; then
95     WXWIDGETS_LIBS=""          AC_MSG_ERROR([
96                wxWindows must be installed on your system
97                but wx-config script couldn't be found.
98    
99                Please check that wx-config is in path, the directory
100                where wxWindows libraries are installed (returned by
101                'wx-config --libs' command) is in LD_LIBRARY_PATH or
102                equivalent variable and wxWindows version is 2.3.4 or above.
103            ])
104        fi
105        WXWIDGETS_CFLAGS=""
106        WXWIDGETS_LIBS=""
107  fi  fi
108    
109  if test "x$enable_gtk" = "xyes" ; then  if test "x$enable_gtk" = "xyes" ; then

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26