summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-15 12:19:01 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-15 12:19:01 +0000
commit67baa28487d62c8fee6481bad79561936510decd (patch)
tree0191159ce00680178ce61872fbd4776f9d254f47 /autogen.sh
parentae63a0a24ab125b41e83c7ea5f1bff64ec13289f (diff)
downloadpcsxr-67baa28487d62c8fee6481bad79561936510decd.tar.gz
dfxvideo: don't use 2xsai by default when config file is missing
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54655 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/autogen.sh b/autogen.sh
index 4628268b..5158e8eb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,8 +1,12 @@
#!/bin/sh
-# simple script to redo the autotooling
+# Run this to generate all the initial makefiles, etc.
+# Additional options go to configure.
-cp /usr/share/libtool/config/ltmain.sh .
-autoheader && aclocal && autoconf && automake --add-missing --copy
-cp /usr/share/gettext/config.rpath .
-cp /usr/share/glib-2.0/gettext/mkinstalldirs .
-rm -r autom4te.cache
+echo "Rebuilding ./configure with autoreconf..."
+autoreconf -f -i
+if [ $? -ne 0 ]; then
+ echo "autoreconf failed"
+ exit $?
+fi
+
+./configure --enable-maintainer-mode "$@"