|
@@ -1,6 +1,6 @@
---- configure.orig 2008-07-18 22:49:02.000000000 +0200
-+++ configure 2008-07-18 22:49:12.000000000 +0200
-@@ -8513,7 +8513,7 @@
+--- configure.orig 2010-04-29 15:50:03.000000000 +0200
++++ configure 2010-05-05 22:57:49.261029566 +0200
+@@ -19678,7 +19678,7 @@
WITH_PERL=no
fi
@@ -9,3 +9,44 @@
if test -z "$PERLLIBDIR" -o ! -d "$PERLLIBDIR"; then
echo "$as_me:$LINENO: result: unable to determine perl shared library directory" >&5
echo "${ECHO_T}unable to determine perl shared library directory" >&6
+@@ -21422,6 +21422,40 @@
+ TETBINDINGS="$TETBINDINGS java"
+ PCOSBINDINGS="$PCOSBINDINGS java"
+ fi
++if test "$WITH_PERL" = "yes" ; then
++ # don't add perl to bindings if compiler is not gcc on Solaris
++ # it won't build
++ SKIP_PERLBINDING="no"
++ case $ac_sys_system in
++ SunOS)
++ if test "$GCC" = ""; then
++ SKIP_PERLBINDING="yes"
++ fi;
++ esac
++ if test "$SKIP_PERLBINDING" = "no"; then
++ BINDINGS="$BINDINGS perl"
++ PLOPBINDINGS="$PLOPBINDINGS perl"
++ TETBINDINGS="$TETBINDINGS perl"
++ fi
++fi
++if test "$WITH_PYTHON" = "yes" ; then
++ BINDINGS="$BINDINGS python"
++fi
++if test "$WITH_RUBY" = "yes" ; then
++ SKIP_RUBBYBINDING="no"
++ case $ac_sys_system in
++ SunOS)
++ if test "$GCC" = ""; then
++ SKIP_RUBBYBINDING="yes"
++ fi;
++ esac
++ if test "$SKIP_RUBBYBINDING" = "no"; then
++ BINDINGS="$BINDINGS ruby"
++ fi
++fi
++if test "$WITH_TCL" = "yes" ; then
++ BINDINGS="$BINDINGS tcl"
++fi
+
+ if test -f progs/Makefile ; then
+ PROGSDIR="progs"
|