summaryrefslogblamecommitdiff
path: root/misc/tools/kconfig-frontends/bootstrap
blob: 4dd9407e790ab387996f542e7770ec7e43193fcc (plain) (tree)
1
2
3
4
5
6
7
8
9


         
                               
                                                                 



                                                                 
 

                                
 
                                  


                                                  
#!/bin/sh
set -e

printf "Creating macrodir...\n"
macrodir="$( sed    -e '/^AC_CONFIG_MACRO_DIR(\[\(.*\)\])/!d;'  \
                    -e 's//\1/;'                                \
                    configure.ac                                \
           )"
mkdir -p "${macrodir}"

printf "Running autoreconf...\n"
autoreconf -f -i -Wall

# Cleanup the useless stuff... :-(
rm -rf autom4te.cache

printf "Done. You may now run:\n    ./configure\n"