blob: b4d0e39c17cc0587e3d3ae7690d33c175c323952 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
--- configure.in.orig Thu Feb 8 08:50:24 2001
+++ configure.in Thu Mar 22 12:11:10 2001
@@ -34,13 +34,24 @@
AC_PROG_CC
AC_PROG_RANLIB
-AM_PATH_GTK(1.2.0,
-[
-AM_CONDITIONAL(PILRCUI, true)
-],
-[
-AM_CONDITIONAL(PILRCUI, false)
-])
+AC_ARG_ENABLE(pilrcui,
+ [ --enable-pilrcui build pilrcui (needs gtk; default: enabled)])
+
+AC_MSG_CHECKING([whether pilrcui should be built])
+if test -z "$enable_pilrcui" -o "$enable_pilrcui" = yes
+then
+ AC_MSG_RESULT([yes])
+ AM_PATH_GTK(1.2.0,
+ [
+ AM_CONDITIONAL(PILRCUI, true)
+ ],
+ [
+ AM_CONDITIONAL(PILRCUI, false)
+ ])
+else
+ AC_MSG_RESULT([no])
+ AM_CONDITIONAL(PILRCUI, false)
+fi
# Check for warnings flag if gcc was detected.
if test "x$ac_cv_prog_gcc" = "xyes"; then
|