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 |
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) |
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 |