X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=e62a77504d01186f444a2debf8dea18e0f0736f3;hb=ddd596e860006f3064dea11efe8d66d9d73659bd;hp=4b72f7f7714d4c1d0c3972bf38896f143d4b6430;hpb=300d3db698d3ac82a0a302a91ee62bcaad6337b6;p=pspp diff --git a/configure.ac b/configure.ac index 4b72f7f771..e62a77504d 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,8 @@ PSPP_PERL PSPP_PYTHON AC_CHECK_PROGS([TEX], [tex], [no]) AC_SUBST([TEX]) +AC_CHECK_PROGS([GWC], [gwc wc], [no]) +AC_SUBST([GWC]) # This suppresses an error in gl/careadlinkat.c that otherwise can't be # avoided in GCC 10.x: @@ -323,10 +325,14 @@ RELOCATABLE_STRIP=: PSPP_CHECK_PREREQS +dnl The makefile needs to know if we're cross compiling, so that +dnl it can make arrangements to build the documentation examples. +AM_CONDITIONAL(cross_compiling, test x"$cross_compiling" = x"yes" ) + AC_CONFIG_FILES( [Makefile gl/Makefile po/Makefile tests/atlocal perl-module/lib/PSPP.pm]) -AC_CONFIG_COMMANDS([doc/examples/dummy], [:]) +AC_CONFIG_COMMANDS([doc/pspp-figures/dummy], [:]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])