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

Diff of /weechat/configure.in

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

revision 1.5 by flashcode, Sun Oct 26 22:49:01 2003 UTC revision 1.6 by flashcode, Sat Nov 1 20:42:16 2003 UTC
# Line 29  AC_PROG_CC Line 29  AC_PROG_CC
29  AC_PROG_MAKE_SET  AC_PROG_MAKE_SET
30  AC_PROG_RANLIB  AC_PROG_RANLIB
31    
32    # Gettext
33    ALL_LINGUAS="fr"
34    AM_GNU_GETTEXT
35    
36  # Checks for libraries.  # Checks for libraries.
37  # AC_CHECK_LIB([curses], [initscr])  AC_CHECK_LIB([curses], [initscr], LIBCURSES_FOUND=1, LIBCURSES_FOUND=0)
38    
39  # Checks for header files.  # Checks for header files.
40  AC_HEADER_STDC  AC_HEADER_STDC
# Line 66  AM_CONDITIONAL(GUI_GTK,    test "$enable Line 70  AM_CONDITIONAL(GUI_GTK,    test "$enable
70  AM_CONDITIONAL(GUI_QT,     test "$enable_qt" = "yes")  AM_CONDITIONAL(GUI_QT,     test "$enable_qt" = "yes")
71    
72  if test "x$enable_curses" = "xyes" ; then  if test "x$enable_curses" = "xyes" ; then
73        if test "$LIBCURSES_FOUND" = "0" ; then
74            AC_MSG_ERROR([Curses library not found! Install Curses library or run ./configure with --disable-curses parameter.])
75        fi
76      CURSES_LIBS=-lcurses      CURSES_LIBS=-lcurses
77      AC_SUBST(CURSES_LIBS)      AC_SUBST(CURSES_LIBS)
78  fi  fi
79    
80  if test "x$enable_gtk" = "xyes" ; then  if test "x$enable_gtk" = "xyes" ; then
81        #if test "$LIBGTK_FOUND" = "0" ; then
82        #    AC_MSG_ERROR([Gtk+ library not found! Install Gtk+ (2.0 or higher) library or run ./configure without --enable-gtk parameter.])
83        #fi
84      GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`      GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
85      GTK_LIBS=`pkg-config --libs gtk+-2.0`      GTK_LIBS=`pkg-config --libs gtk+-2.0`
86      AC_SUBST(GTK_CFLAGS)      AC_SUBST(GTK_CFLAGS)
# Line 86  AC_OUTPUT([Makefile Line 96  AC_OUTPUT([Makefile
96             src/gui/Makefile             src/gui/Makefile
97             src/gui/curses/Makefile             src/gui/curses/Makefile
98             src/gui/gtk/Makefile             src/gui/gtk/Makefile
99             src/gui/qt/Makefile])             src/gui/qt/Makefile
100               intl/Makefile
101               po/Makefile.in])
102    
103  echo  echo
104  echo $PACKAGE $VERSION  echo $PACKAGE $VERSION

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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