#
# INCGNU: A list of -I.... include paths that should be passed to the
# compiler, these are where the gnulib headers can be found.
+#
+# When building for --build, the variables will be prefixed with BUILD_.
# Packages must define the relative path to gnulib's parent dir.
ifndef GNULIB_PARENT_DIR
$(error missing GNULIB_PARENT_DIR)
endif
-LIBGNU = $(GNULIB_PARENT_DIR)/gnulib/import/libgnu.a
-LIBGNU_EXTRA_LIBS = @FREXPL_LIBM@ @FREXP_LIBM@ @INET_NTOP_LIB@ \
- @LIBTHREAD@ @LIB_GETLOGIN@ @LIB_GETRANDOM@ \
- @LIB_HARD_LOCALE@ @LIB_MBRTOWC@ \
- @LIB_SETLOCALE_NULL@ @LIBINTL@ @LIB_SELECT@ @LIBSOCKET@
-INCGNU = -I$(srcdir)/$(GNULIB_PARENT_DIR)/gnulib/import \
- -I$(GNULIB_PARENT_DIR)/gnulib/import
+@VAR_PREFIX@LIBGNU = $(GNULIB_PARENT_DIR)/@BUILD_SUBDIR@gnulib/import/libgnu.a
+@VAR_PREFIX@LIBGNU_EXTRA_LIBS = \
+ @FREXPL_LIBM@ @FREXP_LIBM@ @INET_NTOP_LIB@ \
+ @LIBTHREAD@ @LIB_GETLOGIN@ @LIB_GETRANDOM@ \
+ @LIB_HARD_LOCALE@ @LIB_MBRTOWC@ \
+ @LIB_SETLOCALE_NULL@ @LIBINTL@ @LIB_SELECT@ @LIBSOCKET@
+@VAR_PREFIX@INCGNU = \
+ -I$(srcdir)/$(GNULIB_PARENT_DIR)/gnulib/import \
+ -I$(GNULIB_PARENT_DIR)/@BUILD_SUBDIR@gnulib/import
gl_LIBOBJS
LTLIBOBJS
LIBOBJS
+VAR_PREFIX
+BUILD_SUBDIR
LN_S
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
enable_cross_guesses
enable_dependency_tracking
enable_silent_rules
+with_build_subdir
'
ac_precious_vars='build_alias
host_alias
--enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0")
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-build-subdir=SUBDIR
+ Configuring in a subdirectory for build
+
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LIBS=$save_LIBS
test $gl_pthread_api = yes && break
done
- echo "$as_me:13816: gl_pthread_api=$gl_pthread_api" >&5
- echo "$as_me:13817: LIBPTHREAD=$LIBPTHREAD" >&5
+ echo "$as_me:13825: gl_pthread_api=$gl_pthread_api" >&5
+ echo "$as_me:13826: LIBPTHREAD=$LIBPTHREAD" >&5
gl_pthread_in_glibc=no
# On Linux with glibc >= 2.34, libc contains the fully functional
;;
esac
- echo "$as_me:13842: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
+ echo "$as_me:13851: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
# Test for libpthread by looking for pthread_kill. (Not pthread_self,
# since it is defined as a macro on OSF/1.)
fi
fi
- echo "$as_me:13996: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
+ echo "$as_me:14005: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5
$as_echo_n "checking whether POSIX threads API is available... " >&6; }
LIBS=$save_LIBS
test $gl_pthread_api = yes && break
done
- echo "$as_me:17073: gl_pthread_api=$gl_pthread_api" >&5
- echo "$as_me:17074: LIBPTHREAD=$LIBPTHREAD" >&5
+ echo "$as_me:17082: gl_pthread_api=$gl_pthread_api" >&5
+ echo "$as_me:17083: LIBPTHREAD=$LIBPTHREAD" >&5
gl_pthread_in_glibc=no
# On Linux with glibc >= 2.34, libc contains the fully functional
;;
esac
- echo "$as_me:17099: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
+ echo "$as_me:17108: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
# Test for libpthread by looking for pthread_kill. (Not pthread_self,
# since it is defined as a macro on OSF/1.)
fi
fi
- echo "$as_me:17253: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
+ echo "$as_me:17262: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5
$as_echo_n "checking whether POSIX threads API is available... " >&6; }
LIBS=$save_LIBS
test $gl_pthread_api = yes && break
done
- echo "$as_me:17479: gl_pthread_api=$gl_pthread_api" >&5
- echo "$as_me:17480: LIBPTHREAD=$LIBPTHREAD" >&5
+ echo "$as_me:17488: gl_pthread_api=$gl_pthread_api" >&5
+ echo "$as_me:17489: LIBPTHREAD=$LIBPTHREAD" >&5
gl_pthread_in_glibc=no
# On Linux with glibc >= 2.34, libc contains the fully functional
;;
esac
- echo "$as_me:17505: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
+ echo "$as_me:17514: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
# Test for libpthread by looking for pthread_kill. (Not pthread_self,
# since it is defined as a macro on OSF/1.)
fi
fi
- echo "$as_me:17659: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
+ echo "$as_me:17668: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5
$as_echo_n "checking whether POSIX threads API is available... " >&6; }
# Checks for libraries. #
# ---------------------- #
+
+# Check whether --with-build-subdir was given.
+if test "${with_build_subdir+set}" = set; then :
+ withval=$with_build_subdir;
+fi
+
+
+VAR_PREFIX=
+BUILD_SUBDIR=
+if test -n "${with_build_subdir}"; then :
+ VAR_PREFIX="BUILD_"
+ BUILD_SUBDIR="${with_build_subdir}/"
+
+fi
+
+
+
ac_config_files="$ac_config_files Makefile.gnulib.inc"