$NetBSD: patch-aa,v 1.9 2009/06/06 13:08:27 obache Exp $ * pthread flags portabilities * avoid check for gettext>=0.11.5 * fixes to install all supported L10N man pages --- configure.orig 2009-05-16 07:38:31.000000000 +0000 +++ configure @@ -1998,7 +1998,8 @@ echo "${ECHO_T}yes" >&6 else - MULELDFLAGS="$MULELDFLAGS -lpthread" + MULELDFLAGS="$MULELDFLAGS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" + MULECFLAGS="$MULECFLAGS ${PTHREAD_CFLAGS}" echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 @@ -18080,7 +18081,7 @@ _ACEOF fi - if test x$USE_NLS = xyes; then + if test xno = xyes; then echo "$as_me:$LINENO: checking for autopoint" >&5 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6 @@ -18116,7 +18117,7 @@ echo $ECHO_N "checking for requested lan if test "$AMULE_DAEMON" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then AMULE_DAEMON_MANPAGES=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'` else @@ -18136,7 +18137,7 @@ fi if test "$AMULECMD" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then AMULECMD_MANPAGES=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'` else @@ -18156,7 +18157,7 @@ fi if test "$WEB" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then WEB_MANPAGES=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'` else @@ -18176,7 +18177,7 @@ fi if test "$AMULE_GUI" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then AMULE_GUI_MANPAGES=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'` else @@ -18196,7 +18197,7 @@ fi if test "$CAS" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then CAS_MANPAGES=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'` else @@ -18216,7 +18217,7 @@ fi if test "$WXCAS" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then WXCAS_MANPAGES=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'` else @@ -18236,7 +18237,7 @@ fi if test "$ED2K" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then ED2K_MANPAGES=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'` else @@ -18256,7 +18257,7 @@ fi if test "$ALC" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then ALC_MANPAGES=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'` else @@ -18276,7 +18277,7 @@ fi if test "$ALCC" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then ALCC_MANPAGES=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'` else @@ -18296,7 +18297,7 @@ fi if test "$MONOLITHIC" = "yes"; then - if test -z "$LINGUAS"; then + if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then MONOLITHIC_MANPAGES=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'` else