]> sigrok.org Git - sigrok-firmware.git/blobdiff - autogen.sh
autotools: Don't use "foreign" option.
[sigrok-firmware.git] / autogen.sh
index a910269c6b69eea2f2f74f81fa5bfc9bb52f8589..eeee7683f63e7a1182ccbd73c75b3e02d0618211 100755 (executable)
@@ -3,6 +3,7 @@
 ## This file is part of the sigrok project.
 ##
 ## Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
+## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -49,9 +50,9 @@ elif [ "x$OS" = "xMINGW32_NT-6.1" ]; then
 fi
 
 echo "Generating build system..."
-mkdir autostuff
+mkdir -p autostuff
 aclocal ${ACLOCAL_DIR} || exit 1
 autoheader || exit 1
-automake --add-missing --copy --foreign || exit 1
+automake --add-missing --copy || exit 1
 autoconf || exit 1