]> git.pld-linux.org Git - packages/Xdialog.git/blame - Xdialog-configure.patch
- updated gettext BR
[packages/Xdialog.git] / Xdialog-configure.patch
CommitLineData
38844c75 1diff -ur Xdialog-2.2.0-orig/configure.in Xdialog-2.2.0/configure.in
2--- Xdialog-2.2.0-orig/configure.in 2006-02-17 08:36:26.000000000 -0700
3+++ Xdialog-2.2.0/configure.in 2006-03-19 20:58:24.000000000 -0700
4@@ -20,6 +20,7 @@
31bed870 5 AM_PROG_CC_STDC
38844c75 6 AC_PROG_RANLIB
31bed870 7 AC_HEADER_STDC
8+AC_PROG_RANLIB
9 AC_CHECK_HEADERS(unistd.h)
10 AC_CHECK_HEADERS(errno.h)
11 AC_CHECK_HEADERS(fcntl.h)
38844c75 12@@ -29,20 +30,9 @@
13 ALL_LINGUAS="fr de ru es hu pt_BR no_NO id nl it pl ca sv_SE"
14 AM_GNU_GETTEXT([external])
15
16-compile_for="gtk1"
17-AC_ARG_WITH(gtk2,
18- [ --with-gtk2 Compiles for GTK2],[
19- compile_for="gtk2"
20- CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
21- AC_MSG_RESULT(Compiling for GTK2)
22- ])
23-if test "$compile_for" = "gtk2" ; then
24- AM_PATH_GTK_2_0(2.2.0, ,
25- AC_MSG_ERROR(Cannot find GTK2.))
26-else
27- AM_PATH_GTK(1.2.0, ,
28- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
29-fi
30+CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
31+AC_MSG_RESULT(Compiling for GTK2)
32+AM_PATH_GTK_2_0(2.2.0, , AC_MSG_ERROR(Cannot find GTK2.))
33
34 dnl Set PACKAGE_DATA_DIR in config.h.
35 if test "x${datadir}" = 'x${prefix}/share'; then
This page took 0.031129 seconds and 4 git commands to generate.