diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/configure.in b/configure.in index 4ff0cda630..edc50f913e 100644 --- a/configure.in +++ b/configure.in @@ -1469,25 +1469,17 @@ AC_DEFINE_UNQUOTED(DLEXT_MAXLEN, `expr $len + 1`) test ".$DLEXT" = "." || AC_DEFINE_UNQUOTED(DLEXT, ".$DLEXT") test ".$DLEXT2" = "." || AC_DEFINE_UNQUOTED(DLEXT2, ".$DLEXT2") -AC_SUBST(STRIP)dnl if test "$with_dln_a_out" = yes; then STRIP=true else - STRIP=strip + AC_CHECK_TOOL(STRIP, strip, :)dnl fi -case "$target_os" in - linux* | gnu* | k*bsd*-gnu) - STRIP='strip -S -x';; - nextstep*) - STRIP='strip -A -n';; - openstep*) - STRIP='strip -A -n';; - rhapsody*) - STRIP='strip -A -n';; - darwin*) - STRIP='strip -A -n';; -esac +AS_CASE(["$target_os"], + [linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu], [ + STRIP="$STRIP -S -x"], + [nextstep* | openstep* | rhapsody* | darwin*], [ + STRIP="$STRIP -A -n"]) EXTSTATIC= AC_SUBST(EXTSTATIC)dnl |