|
|
@ -456,6 +456,12 @@ AC_DEFUN([AX_USE_NODEJS], [ |
|
|
|
[${PATH}${PATH_SEPARATOR}${ANDROID_HOME}/tools]) |
|
|
|
[${PATH}${PATH_SEPARATOR}${ANDROID_HOME}/tools]) |
|
|
|
AC_CONFIG_FILES([nodejs/package.json]) |
|
|
|
AC_CONFIG_FILES([nodejs/package.json]) |
|
|
|
AC_CONFIG_FILES([nodejs/makefile]) |
|
|
|
AC_CONFIG_FILES([nodejs/makefile]) |
|
|
|
|
|
|
|
if test -z "${DEB_SECTION}"; then |
|
|
|
|
|
|
|
AX_DEB_SECTION([web]) |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test -z "${RPM_GROUP}"; then |
|
|
|
|
|
|
|
AX_RPM_GROUP([Applications/Internet]) |
|
|
|
|
|
|
|
fi |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([maintainer-clean-am], [maintainer-clean-nodejs-targets], [nodejs/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([maintainer-clean-am], [maintainer-clean-nodejs-targets], [nodejs/makefile.in]) |
|
|
|
test -f nodejs/makefile.in && cat >> nodejs/makefile.in <<EOF |
|
|
|
test -f nodejs/makefile.in && cat >> nodejs/makefile.in <<EOF |
|
|
|
#### Begin: Appended by $0 |
|
|
|
#### Begin: Appended by $0 |
|
|
@ -494,6 +500,12 @@ EOF |
|
|
|
# use this in configure.ac to support HTML data for webservers |
|
|
|
# use this in configure.ac to support HTML data for webservers |
|
|
|
AC_DEFUN([AX_BUILD_HTML], [ |
|
|
|
AC_DEFUN([AX_BUILD_HTML], [ |
|
|
|
AC_CONFIG_FILES([html/makefile]) |
|
|
|
AC_CONFIG_FILES([html/makefile]) |
|
|
|
|
|
|
|
if test -z "${DEB_SECTION}"; then |
|
|
|
|
|
|
|
AX_DEB_SECTION([web]) |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test -z "${RPM_GROUP}"; then |
|
|
|
|
|
|
|
AX_RPM_GROUP([Applications/Internet]) |
|
|
|
|
|
|
|
fi |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([maintainer-clean-am], [maintainer-clean-html-targets], [html/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([maintainer-clean-am], [maintainer-clean-html-targets], [html/makefile.in]) |
|
|
|
test -f html/makefile.in && cat >> html/makefile.in <<EOF |
|
|
|
test -f html/makefile.in && cat >> html/makefile.in <<EOF |
|
|
|
#### Begin: Appended by $0 |
|
|
|
#### Begin: Appended by $0 |
|
|
@ -521,6 +533,12 @@ AC_DEFUN([AX_USE_LIBTOOL], [ |
|
|
|
AC_SUBST(LIB_VERSION) |
|
|
|
AC_SUBST(LIB_VERSION) |
|
|
|
AC_PROG_LIBTOOL |
|
|
|
AC_PROG_LIBTOOL |
|
|
|
AC_CONFIG_FILES([src/${PACKAGE_NAME}.pc]) |
|
|
|
AC_CONFIG_FILES([src/${PACKAGE_NAME}.pc]) |
|
|
|
|
|
|
|
if test -z "${DEB_SECTION}"; then |
|
|
|
|
|
|
|
AX_DEB_SECTION([devel]) |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test -z "${RPM_GROUP}"; then |
|
|
|
|
|
|
|
AX_RPM_GROUP([Development/Libraries]) |
|
|
|
|
|
|
|
fi |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([install-data-am], [install-data-libtool-pkg], [src/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([install-data-am], [install-data-libtool-pkg], [src/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([uninstall-am], [uninstall-data-am], [src/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([uninstall-am], [uninstall-data-am], [src/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([uninstall-data-am], [uninstall-data-libtool-pkg], [src/makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([uninstall-data-am], [uninstall-data-libtool-pkg], [src/makefile.in]) |
|
|
@ -538,7 +556,11 @@ EOF |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
# use this in configure.ac to support debian packages |
|
|
|
# use this in configure.ac to support debian packages |
|
|
|
|
|
|
|
# - $1: optional debian package section |
|
|
|
AC_DEFUN([AX_USE_DEBIAN_PACKAGING], [ |
|
|
|
AC_DEFUN([AX_USE_DEBIAN_PACKAGING], [ |
|
|
|
|
|
|
|
if test -n "$1"; then |
|
|
|
|
|
|
|
AX_DEB_SECTION([$1]) |
|
|
|
|
|
|
|
fi |
|
|
|
if test -f README.md; then |
|
|
|
if test -f README.md; then |
|
|
|
README_DEB=$(tail -n +3 README.md | sed -e 's/^ *$/./g' -e 's/^/ /g') |
|
|
|
README_DEB=$(tail -n +3 README.md | sed -e 's/^ *$/./g' -e 's/^/ /g') |
|
|
|
else |
|
|
|
else |
|
|
@ -563,7 +585,11 @@ EOF |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
# use this in configure.ac to support RPM packages |
|
|
|
# use this in configure.ac to support RPM packages |
|
|
|
|
|
|
|
# - $1: optional rpm package group |
|
|
|
AC_DEFUN([AX_USE_RPM_PACKAGING], [ |
|
|
|
AC_DEFUN([AX_USE_RPM_PACKAGING], [ |
|
|
|
|
|
|
|
if test -n "$1"; then |
|
|
|
|
|
|
|
AX_RPM_GROUP([$1]) |
|
|
|
|
|
|
|
fi |
|
|
|
AC_CONFIG_FILES([${PACKAGE_NAME}.spec]) |
|
|
|
AC_CONFIG_FILES([${PACKAGE_NAME}.spec]) |
|
|
|
#AX_ADD_MAKEFILE_TARGET_DEP([clean-am], [clean-rpm-targets], [makefile.in]) |
|
|
|
#AX_ADD_MAKEFILE_TARGET_DEP([clean-am], [clean-rpm-targets], [makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([clean-am], [clean-rpm-targets], [makefile.in]) |
|
|
|
AX_ADD_MAKEFILE_TARGET_DEP([clean-am], [clean-rpm-targets], [makefile.in]) |
|
|
|