commit | 73737abeadbfd000fe21b6c2332558b2f5546c74 | [log] [tgz] |
---|---|---|
author | Sjoerd Mullender <sjoerd@acm.org> | Mon Sep 12 15:31:01 1994 +0000 |
committer | Sjoerd Mullender <sjoerd@acm.org> | Mon Sep 12 15:31:01 1994 +0000 |
tree | 17dd74ae9ab3034a1f969b79e1d405038a65fc07 | |
parent | 0a516c99ddb5b08e0383c2dc9349bd0866eef582 [diff] |
If an argument on a Setup line starts with `$', treat it as a library, but only if it does not end in a known suffix.
diff --git a/Modules/makesetup b/Modules/makesetup index 35294c0..0f2de4b 100755 --- a/Modules/makesetup +++ b/Modules/makesetup
@@ -130,6 +130,7 @@ *.[cC]) srcs="$srcs $arg";; *.cc) srcs="$srcs $arg";; *.c++) srcs="$srcs $arg";; + \$*) libs="$libs $arg";; *.*) echo 1>&2 "bad word $arg in $line" exit 1;; [a-zA-Z_]*) mods="$mods $arg";;