summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 7ffa058e..b72617e8 100644
--- a/configure.in
+++ b/configure.in
@@ -121,6 +121,8 @@ changequote([,])dnl
AC_ARG_ENABLE(rebuilds, [ --disable-rebuilds disable all source autogeneration rules],,enable_rebuilds=yes)
+AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
+
# define a MAINT-like variable REBUILD which is set if Perl
# is found, so autogenerated sources can be rebuilt