summaryrefslogtreecommitdiff
path: root/recipes/enca/files/configure-remove-dumbness.patch
blob: 6f6f3e320ec156f9e05b39a8ee0b3e379cfe731e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- enca-1.9/configure.ac.orig	2006-06-29 15:30:44.000000000 +0100
+++ enca-1.9/configure.ac	2006-06-29 15:31:41.000000000 +0100
@@ -92,14 +92,15 @@
 dnl And for gtk-doc
 gtk_CHECK_GTK_DOC
 
-dnl Dirty path hack.  Helps some people with badly set up search paths.
-if test "$prefix" = "NONE"; then
-  LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
-  CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
-else
-  LDFLAGS="$LDFLAGS -L$prefix/lib"
-  CPPFLAGS="$CPPFLAGS -I$prefix/include"
-fi
+# This is really dumb code
+#dnl Dirty path hack.  Helps some people with badly set up search paths.
+#if test "$prefix" = "NONE"; then
+#  LDFLAGS="$LDFLAGS -L$ac_default_prefix/lib"
+#  CPPFLAGS="$CPPFLAGS -I$ac_default_prefix/include"
+#else
+#  LDFLAGS="$LDFLAGS -L$prefix/lib"
+#  CPPFLAGS="$CPPFLAGS -I$prefix/include"
+#fi
 
 dnl Checks for libraries.
 ye_CHECK_LIBM