summaryrefslogtreecommitdiff
path: root/audio/gtkpod/patches/patch-ae
blob: 3617ea9b547e9fcd0a7f2953bfa14b85b2e4dc8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.1 2008/03/02 07:02:01 jlam Exp $

--- configure.in.orig	2007-12-17 23:37:46.000000000 -0500
+++ configure.in
@@ -53,11 +53,13 @@ LIBS="$LIBS $GTK_LIBS $GLIB_LIBS $GMODUL
 
 dnl we need 'flex'
 AM_PROG_LEX
-if ! test "y$LEX" = "yflex"; then
-    if ! test "y$LEX" = "ylex"; then
+case "$LEX" in
+flex|*/flex|lex|*/lex)
+	;;
+*)
         AC_MSG_FAILURE([*** flex or lex required])
-    fi
-fi
+	;;
+esac
 
 dnl Retrieve the path of mount and umount binaries
 AC_PATH_PROG(MOUNT, mount)