Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.2.5
:
extensions
>
PDFlib-Lite
> PDFlib-Lite-7.0.5_perlvendor.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File PDFlib-Lite-7.0.5_perlvendor.diff of Package PDFlib-Lite
--- configure.orig 2010-04-29 15:50:03.000000000 +0200 +++ configure 2010-11-18 23:18:03.480683686 +0100 @@ -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 @@ -19759,6 +19759,11 @@ echo $ECHO_N "checking for Python header files... $ECHO_C" >&6 dirs="$PYINCLUDE \ + $PYINCLUDE/python2.6 \ + $prefix/include/python2.6 \ + /usr/local/include/python2.6 \ + /usr/include/python2.6 \ + $prefix/include/python2.6 \ $PYINCLUDE/python2.5 \ $prefix/include/python2.5 \ /usr/local/include/python2.5 \ @@ -21422,6 +21427,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"