2008-07-05 13:24:04 +00:00
|
|
|
--- a/Config/lex.yy.c
|
|
|
|
+++ b/Config/lex.yy.c
|
2009-09-20 11:50:43 +00:00
|
|
|
@@ -445,9 +445,15 @@ static void copy_text(const char *from,
|
2007-07-28 22:35:40 +00:00
|
|
|
|
|
|
|
#ifndef YY_SKIP_YYWRAP
|
|
|
|
#ifdef __cplusplus
|
|
|
|
-extern "C" int yywrap YY_PROTO(( void ));
|
|
|
|
-#else
|
|
|
|
-extern int yywrap YY_PROTO(( void ));
|
|
|
|
+/* extern "C" int yywrap YY_PROTO(( void )); */
|
|
|
|
+int yywrap (void ) {
|
|
|
|
+ return 1;
|
|
|
|
+}
|
|
|
|
+#else
|
|
|
|
+/* extern int yywrap YY_PROTO(( void )); */
|
|
|
|
+int yywrap (void ) {
|
|
|
|
+ return 1;
|
|
|
|
+}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2008-07-05 13:24:04 +00:00
|
|
|
--- a/Makefile.in
|
|
|
|
+++ b/Makefile.in
|
2009-09-20 11:50:43 +00:00
|
|
|
@@ -12,7 +12,7 @@ OBJS = attr.o daemon.o error.o fd_cache.
|
2008-07-05 13:24:04 +00:00
|
|
|
md5.o mount.o nfs.o password.o readdir.o user.o xdr.o winsupport.o
|
|
|
|
CONFOBJ = Config/lib.a
|
|
|
|
EXTRAOBJ = @EXTRAOBJ@
|
|
|
|
-LDFLAGS = @LDFLAGS@ @LIBS@ @LEXLIB@
|
|
|
|
+LDFLAGS = @LDFLAGS@ @LIBS@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
|
|
|
|
prefix = @prefix@
|
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2009-09-20 11:50:43 +00:00
|
|
|
@@ -2604,7 +2604,7 @@ else
|
2008-07-05 13:24:04 +00:00
|
|
|
|
|
|
|
ac_save_LIBS=$LIBS
|
|
|
|
ac_cv_lib_lex='none needed'
|
|
|
|
- for ac_lib in '' -lfl -ll; do
|
|
|
|
+ for ac_lib in '' -ll; do
|
|
|
|
LIBS="$ac_lib $ac_save_LIBS"
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
`cat $LEX_OUTPUT_ROOT.c`
|