summaryrefslogtreecommitdiff
path: root/Make.Rules.in
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2002-05-29 06:35:46 +0000
committerAndrew G. Morgan <morgan@kernel.org>2002-05-29 06:35:46 +0000
commite509c5af6f70eb3cfd846004b82caaca24fd4a3b (patch)
treefe9859716e1120d88c1d3b6bf24aa1617c138332 /Make.Rules.in
parent62f3574062ed05e9afd512028994bd17639c0b2f (diff)
Relevant BUGIDs: 491466
Purpose of commit: cleanup Commit summary: --------------- These were all suggestions from the OS X patch provided by Luke Howard. There is another proposed patch for OS X support which promises to be a little cleaner with the heavy stuff, so I am committing these simple changes now, with the intention of moving to the other patch for the big stuff (see 534205).
Diffstat (limited to 'Make.Rules.in')
-rw-r--r--Make.Rules.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Make.Rules.in b/Make.Rules.in
index 894ea4ac..d705bd0e 100644
--- a/Make.Rules.in
+++ b/Make.Rules.in
@@ -52,6 +52,14 @@ HAVE_LIBFL=@HAVE_LIBFL@
HAVE_LIBNSL=@HAVE_LIBNSL@
HAVE_LIBPWDB=@HAVE_LIBPWDB@
+ifeq (@HAVE_LIBFLEX@,yes)
+LINK_LIBLEX=-lfl
+else
+ifeq (@HAVE_LIBLEX@,yes)
+LINK_LIBLEX=-ll
+endif
+endif
+
# documentation support
HAVE_SGML2TXT=@HAVE_SGML2TXT@
HAVE_SGML2HTML=@HAVE_SGML2HTML@