$NetBSD: patch-ab,v 1.2 1999/05/25 23:45:06 jlam Exp $ --- configure.orig Fri May 7 06:25:40 1999 +++ configure Tue May 25 03:01:46 1999 @@ -812,6 +812,7 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 755' ## Fix a bug in autoconf---the path of the install shell script is ## not cached. Could also use an absolute path in AC_CONFIG_AUX_DIR(). @@ -3619,9 +3620,10 @@ ;; *netbsd*) if ${CPP} - -dM < /dev/null | grep -q __ELF__; then - DLLFLAGS="-export-dynamic" + DLLFLAGS="${LDFLAGS} -export-dynamic" SHLIBLDFLAGS="-shared" else + DLLFLAGS="${LDFLAGS}" SHLIBLDFLAGS="-Bshareable" fi ;; @@ -4746,6 +4748,7 @@ s%@config_opts@%$config_opts%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_DATA@%$INSTALL_DATA%g +s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@LN_S@%$LN_S%g s%@RANLIB@%$RANLIB%g s%@YACC@%$YACC%g