Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL5
:
5.3.9
:
extensions
>
PDFlib-Lite
> PDFlib-Lite-7.0.5_perlvendor.diff.old
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File PDFlib-Lite-7.0.5_perlvendor.diff.old of Package PDFlib-Lite
--- 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 - PERLLIBDIR=`($PERL -e 'use Config; print $Config{sitearchexp};') 2>/dev/null` + PERLLIBDIR=`($PERL -e 'use Config; print $Config{vendorarchexp};') 2>/dev/null` 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"