diff --git a/autogen.sh b/autogen.sh index f9e349a9a..f9de08497 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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")" diff --git a/configure.in b/configure.in index 16d97833c..1008a48cf 100644 --- a/configure.in +++ b/configure.in @@ -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?