bootstrap
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Thu Jan 10 22:38:48 2013 +0100 (2013-01-10)
changeset 3163 06938bc1c6e7
permissions -rwxr-xr-x
scripts: check for running as root

Running as root is really, really dangerous.

Add a runtime-check that refuses to build if running as root.
Can be overriden with a double switch in the menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 #!/bin/sh
     2 set -e
     3 
     4 printf "Running autoconf...\n"
     5 autoconf -Wall --force
     6 
     7 printf "Done. You may now run:\n    ./configure\n"