File: 01_noneed_yacc_lex.patch

package info (click to toggle)
gfarm 2.7.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 24,328 kB
  • sloc: ansic: 186,155; sh: 41,190; cpp: 9,442; java: 6,866; makefile: 3,433; python: 1,428; ruby: 965; php: 807; perl: 466; sql: 173; xml: 51; csh: 2
file content (31 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (5)
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
Last-Update: 2010-03-18
Author: NIIBE Yutaka <gniibe@fsij.org>
Description: No need to check yacc&lex.

--- a/configure.ac
+++ b/configure.ac
@@ -55,24 +55,16 @@
   LDFLAGS="$LDFLAGS_SAVE"
 fi
 AC_SUBST(dynamic_ldflags)
 
-AC_PROG_LEX
-# the following definition should not be needed.
-# but there is stupid environment which flex exists but libfl.a doesn't.
-if test x"$LEX" = x"flex"; then
-  AC_CHECK_LIB(fl, yywrap, [LEXLIB=-lfl], [LEXLIB=-ll])
-fi
-
 if mkdir -p . 2>/dev/null; then
   MKDIR_P='mkdir -p'
 else
   test -d ./-p && rmdir ./-p
   MKDIR_P='$(top_srcdir)/makes/mkdirhier'
 fi
 AC_SUBST(MKDIR_P)
 
-AC_PROG_YACC
 AC_PROG_INSTALL
 AC_PROG_LIBTOOL
 
 AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])