AUTOMAKE_OPTIONS = 1.8 foreign
ACLOCAL_AMFLAGS = -I .. -I ../config
+# May be used by various substitution variables.
+gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
+
if BUILD_LIBGCOBOL
toolexeclib_LTLIBRARIES = libgcobol.la
endif
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = 1.8 foreign
ACLOCAL_AMFLAGS = -I .. -I ../config
+
+# May be used by various substitution variables.
+gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
@BUILD_LIBGCOBOL_TRUE@toolexeclib_LTLIBRARIES = libgcobol.la
libgcobol_la_SOURCES = \
charmaps.cc \
LTLIBOBJS
LIBOBJS
extra_darwin_ldflags_libgcobol
-get_gcc_base_ver
VERSION_SUFFIX
LIBGCOBOL_VERSION
SPEC_LIBGCOBOL_DEPS
CXX
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
+get_gcc_base_ver
toolexeclibdir
toolexecdir
MAINT
enable_version_specific_runtime_libs
with_slibdir
enable_maintainer_mode
+with_gcc_major_version_only
enable_shared
enable_static
with_pic
with_gnu_ld
enable_libtool_lock
enable_darwin_at_rpath
-with_gcc_major_version_only
'
ac_precious_vars='build_alias
host_alias
install libraries built with a cross compiler within
DIR
--with-slibdir=DIR shared libraries in DIR LIBDIR
+ --with-gcc-major-version-only
+ use only GCC major number in filesystem paths
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
- --with-gcc-major-version-only
- use only GCC major number in filesystem paths
Some influential environment variables:
CC C compiler command
+# Determine what GCC version number to use in filesystem paths.
+
+ get_gcc_base_ver="cat"
+
+# Check whether --with-gcc-major-version-only was given.
+if test "${with_gcc_major_version_only+set}" = set; then :
+ withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
+ get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
+ fi
+
+fi
+
+
+
+
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12879 "configure"
+#line 12894 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12985 "configure"
+#line 13000 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
AC_SUBST(toolexecdir)
AC_SUBST(toolexeclibdir)
+# Determine what GCC version number to use in filesystem paths.
+GCC_BASE_VER
+
AH_TEMPLATE(PACKAGE, [Name of package])
AH_TEMPLATE(VERSION, [Version number of package])