diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-02 07:46:57 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-10 04:01:40 +0300 |
commit | 492e5fe8b0863e15ffd5a269e42b60fabfc5f5db (patch) | |
tree | 8d2667fad13a6686c0bf5c6659b61cbeafcd4923 /libgloss/configure | |
parent | 7517551007edda5b72cdab774abe0dcce835a9b9 (diff) |
libgloss: merge doc into top-level Makefile
Avoid a recursive make with this tiny subdir to speed things up a bit.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-x | libgloss/configure | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/libgloss/configure b/libgloss/configure index 4349cbf0e..a3c8c4e73 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -615,6 +615,8 @@ am__include DEPDIR CC subdirs +HAVE_DOC_FALSE +HAVE_DOC_TRUE AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V @@ -2630,13 +2632,22 @@ fi AM_BACKSLASH='\' -if test -z "${with_multisubdir}" ; then - ac_config_files="$ac_config_files doc/Makefile" - +if test -z "${with_multisubdir}"; then + have_multisubdir=no +else + have_multisubdir=yes +fi + if test x$have_multisubdir = xno; then + HAVE_DOC_TRUE= + HAVE_DOC_FALSE='#' +else + HAVE_DOC_TRUE='#' + HAVE_DOC_FALSE= fi + config_testsuite=true config_libnosys=true @@ -5001,6 +5012,10 @@ else am__EXEEXT_FALSE= fi +if test -z "${HAVE_DOC_TRUE}" && test -z "${HAVE_DOC_FALSE}"; then + as_fn_error $? "conditional \"HAVE_DOC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -5621,7 +5636,6 @@ for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "arc/Makefile") CONFIG_FILES="$CONFIG_FILES arc/Makefile" ;; "epiphany/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany/Makefile" ;; "m32r/Makefile") CONFIG_FILES="$CONFIG_FILES m32r/Makefile" ;; |