b6c60e
diff -up autogen-5.18/autoopts/autoopts-config.in.multilib autogen-5.18/autoopts/autoopts-config.in
b6c60e
--- autogen-5.18/autoopts/autoopts-config.in.multilib	2013-07-15 02:37:20.000000000 +0200
b6c60e
+++ autogen-5.18/autoopts/autoopts-config.in	2013-07-29 15:41:26.654229342 +0200
b6c60e
@@ -17,17 +17,17 @@
b6c60e
   includedir="@includedir@"
b6c60e
  exec_prefix="@exec_prefix@"
b6c60e
       bindir="@bindir@"
b6c60e
-      libdir="@libdir@"
b6c60e
-      ldopts="@AG_LDFLAGS@"
b6c60e
+      libdir=""
b6c60e
+      ldopts=""
b6c60e
       exeext="@EXEEXT@"
b6c60e
      version="@AO_CURRENT@:@AO_REVISION@:@AO_AGE@"
b6c60e
       dotver="@AO_CURRENT@.@AO_REVISION@.@AO_AGE@"
b6c60e
   pkgdatadir="${datadir}/${package}"
b6c60e
      autogen="${bindir}/autogen${exeext}"
b6c60e
-     ldflags="-L${libdir} -lopts"
b6c60e
+     ldflags="-lopts"
b6c60e
         libs="${ldflags}"
b6c60e
       libsrc="${pkgdatadir}/libopts-${dotver}.tar.gz"
b6c60e
- static_libs="${libdir}/libopts.a"
b6c60e
+ static_libs=""
b6c60e
       cflags="-I${includedir}"
b6c60e
 test 'X@ENABLE_STATIC@' = Xno && static_libs=''
b6c60e
 case "${libdir}" in
b6c60e
diff -up autogen-5.18/autoopts/mk-autoopts-pc.in.multilib autogen-5.18/autoopts/mk-autoopts-pc.in
b6c60e
--- autogen-5.18/autoopts/mk-autoopts-pc.in.multilib	2013-07-15 02:37:20.000000000 +0200
b6c60e
+++ autogen-5.18/autoopts/mk-autoopts-pc.in	2013-07-29 15:49:20.603890010 +0200
b6c60e
@@ -17,17 +17,17 @@
b6c60e
   includedir="@includedir@"
b6c60e
  exec_prefix="@exec_prefix@"
b6c60e
       bindir="@bindir@"
b6c60e
-      libdir="@libdir@"
b6c60e
-      ldopts="@AG_LDFLAGS@"
b6c60e
+      libdir=""
b6c60e
+      ldopts=""
b6c60e
       exeext="@EXEEXT@"
b6c60e
      version="@AO_CURRENT@:@AO_REVISION@:@AO_AGE@"
b6c60e
       dotver="@AO_CURRENT@.@AO_REVISION@.@AO_AGE@"
b6c60e
   pkgdatadir="${datadir}/${package}"
b6c60e
      autogen="${bindir}/autogen${exeext}"
b6c60e
-     ldflags="-L${libdir} -lopts"
b6c60e
+     ldflags="-lopts"
b6c60e
         libs="${ldflags}"
b6c60e
       libsrc="${pkgdatadir}/libopts-${dotver}.tar.gz"
b6c60e
- static_libs="${libdir}/libopts.a"
b6c60e
+ static_libs=""
b6c60e
       cflags="-I${includedir}"
b6c60e
 test 'X@ENABLE_STATIC@' = Xno && static_libs=''
b6c60e
 case "${libdir}" in