diff options
author | cls%seawood.org <devnull@localhost> | 2001-04-08 21:28:10 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 2001-04-08 21:28:10 +0000 |
commit | 3c25c0b2287cdd81d811918794d3e9dc5a51afc3 (patch) | |
tree | 7185a4a4866690dbb9cb8b4f5874b4703d4ac61f | |
parent | ab655ad7f65d11ab661e5828c0bd4b29e48fd47a (diff) | |
download | nspr-hg-3c25c0b2287cdd81d811918794d3e9dc5a51afc3.tar.gz |
Handle --prefix & --exec-prefix properly.
-rwxr-xr-x | config/nspr-config.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/nspr-config.in b/config/nspr-config.in index 2f25a94e..23c0d70a 100755 --- a/config/nspr-config.in +++ b/config/nspr-config.in @@ -43,6 +43,9 @@ while test $# -gt 0; do case $1 in --prefix=*) prefix=$optarg + if test $exec_prefix_set = no ; then + exec_prefix=$optarg + fi ;; --prefix) echo_prefix=yes @@ -88,11 +91,11 @@ if test "$echo_exec_prefix" = "yes"; then fi if test "$echo_cflags" = "yes"; then - echo -I@includedir@/nspr + echo -I${prefix}/include/nspr fi if test "$echo_libs" = "yes"; then - libdirs=-L@libdir@ + libdirs=-L${exec_prefix}/lib if test -n "$lib_plds"; then libdirs="$libdirs -lplds${major_version}" fi |