tests \
tools
+pkgconfigdir = @pkgconfigdir@
+pkgconfig_DATA = libfl.pc
+
# Create the ChangeLog, but only if we're inside a git working directory
ChangeLog: $(srcdir)/tools/git2cl
AC_PROG_AWK
AC_PROG_INSTALL
+pkgconfigdir=${libdir}/pkgconfig
+AC_SUBST(pkgconfigdir)
+
# allow passing a variable `WARNINGFLAGS',
# either when invoking `configure', or when invoking `make'
# default to something useful if GCC was detected
src/Makefile
tools/Makefile
tests/Makefile
+libfl.pc
)
AC_OUTPUT
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libfl
+Description: The fast lexical analyser
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lfl
+Cflags: -I${includedir}
\ No newline at end of file