|
|
|
@ -233,10 +233,6 @@ HEADER='## @id '"\$Id\$"' |
|
|
|
|
|
|
|
|
|
' |
|
|
|
|
|
|
|
|
|
notice() { |
|
|
|
|
echo -e "\e[1;33m$*\e[0m" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
run() { |
|
|
|
|
check=1 |
|
|
|
|
while test $# -gt 0; do |
|
|
|
@ -371,13 +367,9 @@ copy ${MY_NAME} |
|
|
|
|
copy ax_init_standard_project.m4 |
|
|
|
|
copy ax_cxx_compile_stdcxx_11.m4 |
|
|
|
|
copy ax_check_qt.m4 |
|
|
|
|
AUTHOR=$(gpg -K | sed -n 's,uid *,,p' | sort | head -1) |
|
|
|
|
if test -z "${AUTHOR}"; then |
|
|
|
|
AUTHOR="FIRSTNAME LASTNAME (URL) <EMAIL>" |
|
|
|
|
fi |
|
|
|
|
echo "$AUTHOR" | to AUTHORS && notice "please edit AUTHORS" |
|
|
|
|
copy AUTHORS |
|
|
|
|
to configure.ac <<EOF && \ |
|
|
|
|
( notice "please edit configure.ac, then rerun $0"; exit 0 ) |
|
|
|
|
( echo "please edit configure.ac, then rerun $0"; exit 0 ) |
|
|
|
|
${HEADER}m4_define(x_package_name, ${DEFAULT_PROJECT_NAME}) # project's name |
|
|
|
|
m4_define(x_major, 0) # project's major version |
|
|
|
|
m4_define(x_minor, 0) # project's minor version |
|
|
|
@ -398,7 +390,7 @@ AX_INIT_STANDARD_PROJECT |
|
|
|
|
|
|
|
|
|
# qt features, uncomment, what you need: |
|
|
|
|
#AX_CHECK_QT([QT], [QtCore QtGui QtNetwork], [QtWidgets]) |
|
|
|
|
#AX_QT_NO_KEYWORDS |
|
|
|
|
#AM_CPPFLAGS="${AM_CPPFLAGS} -DQT_NO_KEYWORDS" |
|
|
|
|
|
|
|
|
|
# create output |
|
|
|
|
AC_OUTPUT |
|
|
|
|