summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdread/A03-m4-uid0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libdvdread/A03-m4-uid0.patch')
-rw-r--r--contrib/libdvdread/A03-m4-uid0.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/libdvdread/A03-m4-uid0.patch b/contrib/libdvdread/A03-m4-uid0.patch
new file mode 100644
index 000000000..eab26177c
--- /dev/null
+++ b/contrib/libdvdread/A03-m4-uid0.patch
@@ -0,0 +1,28 @@
+diff -Naur libdvdread.orig/configure.ac libdvdread/configure.ac
+--- libdvdread.orig/configure.ac 2009-01-08 14:57:10.000000000 -0800
++++ libdvdread/configure.ac 2009-08-24 10:17:47.036747814 -0700
+@@ -167,24 +167,6 @@
+
+ AC_SUBST(DEBUG_CFLAGS)
+
+-dnl ---------------------------------------------
+-dnl Get where .m4 should be installed.
+-dnl ---------------------------------------------
+-case "`id`" in
+- uid=0\(* )
+- AC_MSG_CHECKING(for aclocal directory)
+- if (aclocal --version) < /dev/null > /dev/null 2>&1; then
+- ACLOCAL_DIR="`eval $ACLOCAL --print-ac-dir`"
+- AC_MSG_RESULT($ACLOCAL_DIR)
+- else
+- ACLOCAL_DIR="/usr/local/share/aclocal"
+- AC_MSG_RESULT(none - will be installed in $ACLOCAL_DIR)
+- fi
+- escapedprefix="`echo $prefix | sed -e 's/\\//\\\\\//g'`"
+- ACLOCAL_DIR="`echo $ACLOCAL_DIR|sed -e 's/^'$escapedprefix/'\${prefix}'/`"
+- AC_SUBST(ACLOCAL_DIR)
+- ;;
+-esac
+ AM_CONDITIONAL(INSTALL_M4, test x"$ACLOCAL_DIR" != "x")
+
+ dnl ---------------------------------------------