Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > d41e7febba7533a5711c18660c676cc9 > files > 22

libxslt-1.1.17-4.el5_8.3.src.rpm

*** XSLT/xslt-config.in.orig	2007-01-11 14:13:20.000000000 +0100
--- XSLT/xslt-config.in	2007-01-11 14:14:43.000000000 +0100
*************** prefix=@prefix@
*** 4,10 ****
  exec_prefix=@exec_prefix@
  exec_prefix_set=no
  includedir=@includedir@
! libdir=@libdir@
  
  usage()
  {
--- 4,15 ----
  exec_prefix=@exec_prefix@
  exec_prefix_set=no
  includedir=@includedir@
! if [ "`ldd /bin/sh | grep lib64`" = "" ]
! then
!     libdir=${exec_prefix}/lib
! else
!     libdir=${exec_prefix}/lib64
! fi
  
  usage()
  {
*************** while test $# -gt 0; do
*** 89,95 ****
      shift
  done
  
! the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@"
  if test "$includedir" != "/usr/include"; then
      the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
  else
--- 94,100 ----
      shift
  done
  
! the_libs="-L${libdir} -lxslt  -lxml2 -lz -lm -lm"
  if test "$includedir" != "/usr/include"; then
      the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
  else