mirror of
https://github.com/HEYAHONG/kconfig-frontends.git
synced 2025-05-09 02:01:14 +08:00

Rewrite calls to `sed' to remove '-r/--regexp-extended' parameter, which is not supported by BSD `sed'. BSD `sed' does implement regular expressions, but enables them with parameter '-E' which in turn is not officially supported by GNU `sed' - in fact it is implemented but not documented. Signed-off-by: Clement Chauplannaz <chauplac@gmail.com> [yann.morin.1998@free.fr: tweak the root-menu hunk] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
18 lines
452 B
Bash
Executable File
18 lines
452 B
Bash
Executable File
#!/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"
|