Blob Blame History Raw
--- admin/pkgconfig/freealut-config.in.orig	2008-01-02 23:12:54.000000000 +0100
+++ admin/pkgconfig/freealut-config.in	2008-01-02 23:15:49.000000000 +0100
@@ -4,7 +4,6 @@
 exec_prefix="@exec_prefix@"
 bindir="@bindir@"
 includedir="@includedir@"
-libdir="@libdir@"
 PACKAGE_VERSION="@PACKAGE_VERSION@"
 
 freealut_dynamic_ldflags="-lalut"
@@ -19,8 +18,6 @@
 echo_bindir=no
 includedir_set=no
 echo_includedir=no
-libdir_set=no
-echo_libdir=no
 echo_version=no
 echo_cflags=no
 static_libs=no
@@ -85,10 +82,8 @@
       ;;
     --libdir=*)
       libdir="${optarg}"
-      libdir_set="yes"
       ;;
     --libdir)
-      echo_libdir="yes"
       ;;
     --version)
       echo_version="yes"
@@ -138,14 +133,6 @@
   echo "${includedir}"
 fi
 
-if test "${libdir_set}" = "no" && test "${exec_prefix_set}" = "yes"; then
-  libdir="${exec_prefix}/lib"
-fi
-
-if test "$echo_libdir" = "yes"; then
-  echo "${libdir}"
-fi
-
 if test "$echo_version" = "yes"; then
   echo "${PACKAGE_VERSION}"
 fi
@@ -160,11 +147,6 @@
 fi
 
 if test "$echo_libs" = "yes"; then
-  if test "${libdir}" = "/usr/lib" ; then
-    libpathflag=""
-  else
-    libpathflag="-L${libdir}"
-  fi
   if test "${static_libs}" = "yes"; then
      ldflags="${freealut_static_ldflags}"
   else