use GP_AUTOGEN_SUBDIR, 0.4.4 autogen.sh

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7983 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Hans Ulrich Niedermann
2005-05-09 12:10:33 +00:00
parent 1d212fb275
commit 7775bdb7f6
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ debug="false"
recursive="false"
dryrun="false"
self="$(basename "$0")"
autogen_version="0.4.3"
autogen_version="0.4.4"
########################################################################
@@ -118,7 +118,7 @@ init_vars() {
# OK, the "init" part is done recursively by autopoint, so that is easy.
# But the cleaning should also work recursively, but that is difficult
# with the current structure of the script.
AG_SUBDIRS="$(for k in $(sed -n 's/^[[:space:]]*AC_CONFIG_SUBDIRS(\[\{0,1\}\([^])]*\).*/\1/p' "$CONFIGURE_AC"); do echo "${k}"; done)"
AG_SUBDIRS="$(for k in $(sed -n 's/^[[:space:]]*GP_AUTOGEN_SUBDIR(\[\{0,1\}\([^])]*\).*/\1/p' "$CONFIGURE_AC"); do echo "${k}"; done)"
AG_LIBLTDL_DIR="$(sed -n 's/^[[:space:]]*AC_LIBLTDL_\(INSTALLABLE\|CONVENIENCE\)(\[\{0,1\}\([^])]*\).*/\2/p' < "$CONFIGURE_AC")"
if test "x$AG_LIBLTDL_DIR" = "x"; then
tmp="$(sed -n 's/^[[:space:]]*\(AC_LIBLTDL_\)\(INSTALLABLE\|CONVENIENCE\)(\[\{0,1\}\([^])]*\).*/\1/p' < "$CONFIGURE_AC")"

View File

@@ -435,6 +435,7 @@ dnl Configure subprojects
dnl ---------------------------------------------------------------------------
if test -d "$srcdir/libgphoto2_port"; then
AC_CONFIG_SUBDIRS([libgphoto2_port])
GP_AUTOGEN_SUBDIR([libgphoto2_port])
else
AC_MSG_ERROR([
*** Hey, where have you hidden my libgphoto2_port?