]> git.sesse.net Git - vlc/commitdiff
Patch config.sub to recognize uclibc system.
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 16 May 2007 14:52:02 +0000 (14:52 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Wed, 16 May 2007 14:52:02 +0000 (14:52 +0000)
bootstrap

index ba7c30e81bdf88b2dcd835954d38b492765bc1cf..6a628ff4e7d09b42c717ee0fdb607d9f882f474b 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -472,6 +472,22 @@ ${autoconf}
 ${autoheader}
 ${automake} --add-missing --copy -Wall
 
+# patch for uclibc support on linux (remove when fixed)
+patch -s -p0 << 'EOF'
+--- autotools/config.sub.orig  2007-05-16 13:16:41.000000000 +0200
++++ autotools/config.sub       2007-05-16 13:17:34.000000000 +0200
+@@ -1110,6 +1110,9 @@
+       -unixware*)
+               os=-sysv4.2uw
+               ;;
++      -uclibc*)
++              os=-linux
++              ;;
+       -gnu/linux*)
+               os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+               ;;
+EOF
+
 ##
 ##  files which need to be regenerated
 ##