Changed file path to uninstall.
[gpg4win.git] / autogen.sh
index 5174237..2bec907 100755 (executable)
@@ -36,6 +36,11 @@ AUTOMAKE=${AUTOMAKE_PREFIX}${AUTOMAKE:-automake}${AUTOMAKE_SUFFIX}
 ACLOCAL=${AUTOMAKE_PREFIX}${ACLOCAL:-aclocal}${AUTOMAKE_SUFFIX}
 
 DIE=no
+FORCE=
+if test x"$1" = x"--force"; then
+  FORCE=" --force"
+  shift
+fi
 
 # ***** W32 build script *******
 # Used to cross-compile for Windows.
@@ -76,7 +81,8 @@ if test "$1" = "--build-w32"; then
         fi
     fi
 
-    ./configure --host=${host} --build=${build}  "$@"
+    ./configure --host=${host} --build=${build} --enable-maintainer-mode \
+                --disable-pkg-man_advanced_en  "$@"
     rc=$?
 
     exit $rc
@@ -127,11 +133,11 @@ fi
 
 echo "Running aclocal -I m4 ${ACLOCAL_FLAGS:+$ACLOCAL_FLAGS }..."
 $ACLOCAL -I m4 $ACLOCAL_FLAGS
-#echo "Running autoheader..."
-#$AUTOHEADER
+echo "Running autoheader..."
+$AUTOHEADER
 echo "Running automake --gnu ..."
 $AUTOMAKE --gnu;
-echo "Running autoconf..."
-$AUTOCONF
+echo "Running autoconf${FORCE} ..."
+$AUTOCONF${FORCE}
 
 echo "You may now run \"./configure --host=i586-mingw32msvc && make\"."