--- flex-2.6.4/configure.ac.LIBT 2017-10-03 23:07:49.870430437 +0300 +++ flex-2.6.4/configure.ac 2017-10-03 23:09:47.306620702 +0300 @@ -10,47 +10,45 @@ # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # Neither the name of the University nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE. # autoconf requirements and initialization AC_INIT([the fast lexical analyser generator],[2.6.4],[flex-help@lists.sourceforge.net],[flex]) AC_CONFIG_SRCDIR([src/scan.l]) AC_CONFIG_AUX_DIR([build-aux]) -LT_INIT +AC_PROG_RANLIB AM_INIT_AUTOMAKE([1.11.3 -Wno-portability foreign check-news std-options dist-lzip parallel-tests subdir-objects]) AC_CONFIG_HEADER([src/config.h]) AC_CONFIG_LIBOBJ_DIR([lib]) AC_CONFIG_MACRO_DIR([m4]) -SHARED_VERSION_INFO="2:0:0" -AC_SUBST(SHARED_VERSION_INFO) # checks for programs AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.18]) AC_PROG_YACC AS_IF([test "$YACC" != 'bison -y'], [ YACC="\${top_srcdir}/build-aux/missing bison -y" AC_MSG_NOTICE(no bison program found: only required for maintainers) ]) AM_CONDITIONAL([HAVE_BISON], [test "$YACC" = 'bison -y']) AM_PROG_LEX AC_PROG_CC AX_PROG_CC_FOR_BUILD AC_PROG_CXX AM_PROG_CC_C_O AC_PROG_LN_S AC_PROG_AWK AC_PROG_INSTALL --- flex-2.6.4/src/Makefile.am.LIBT 2017-10-03 23:07:49.870430437 +0300 +++ flex-2.6.4/src/Makefile.am 2017-10-03 23:12:34.183470067 +0300 @@ -1,38 +1,38 @@ AM_YFLAGS = -d AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" LIBS = @LIBS@ m4 = @M4@ bin_PROGRAMS = flex if ENABLE_BOOTSTRAP noinst_PROGRAMS = stage1flex endif if ENABLE_LIBFL -lib_LTLIBRARIES = libfl.la +lib_LIBRARIES = libfl.a endif -libfl_la_SOURCES = \ +libfl_a_SOURCES = \ libmain.c \ libyywrap.c -libfl_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ +libfl_a_LDFLAGS = -version-info @SHARED_VERSION_INFO@ stage1flex_SOURCES = \ scan.l \ $(COMMON_SOURCES) if CROSS stage1flex_LDADD = stage1flex_SOURCES += \ ../lib/malloc.c \ ../lib/realloc.c stage1flex_LINK = $(LIBTOOL) --tag=CC --mode=link $(CC_FOR_BUILD) \ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $(stage1flex_OBJECTS): CC=$(CC_FOR_BUILD) $(stage1flex_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) $(stage1flex_OBJECTS): CPP=$(CPP_FOR_BUILD) $(stage1flex_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) $(stage1flex_OBJECTS): LDFLAGS=$(LDFLAGS_FOR_BUILD) else stage1flex_LDADD = $(LDADD)