All pastes #802340 Raw Edit

Anonymous

public text v1 · immutable
#802340 ·published 2007-11-30 02:12 UTC
rendered paste body
--- configure.in.orig   Wed Nov 28 16:34:39 2007
+++ configure.in        Thu Nov 29 01:57:59 2007
@@ -339,6 +339,13 @@
   echo Checking for confuse
   if test x"$libconfusepath" != x && test x"$libconfusepath" != xyes ; then
     CFLAGS="$CFLAGS -I$libconfusepath/include"
+
+    case "$host" in
+    *bsd*)   LDFLAGS="$LDFLAGS -L$libconfusepath/lib -lintl -liconv"
+                 ;;
+    *)           LDFLAGS="$LDFLAGS -L$libconfusepath/lib"
+                 ;;
+    esac
     LDFLAGS="$LDFLAGS -L$libconfusepath/lib"
     echo "Added -I$libconfusepath/include to CFLAGS"
     echo "Added -L$libconfusepath/lib to LDLAGS"