aboutsummaryrefslogtreecommitdiff
path: root/libXaw/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libXaw/configure.ac')
-rw-r--r--libXaw/configure.ac224
1 files changed, 112 insertions, 112 deletions
diff --git a/libXaw/configure.ac b/libXaw/configure.ac
index 9c99e0366..a7875f201 100644
--- a/libXaw/configure.ac
+++ b/libXaw/configure.ac
@@ -1,112 +1,112 @@
-dnl Process this file with autoconf to create configure.
-
-# Initialize Autoconf
-AC_PREREQ([2.60])
-AC_INIT([libXaw], [1.0.9],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXaw])
-AC_CONFIG_SRCDIR([Makefile.am])
-AC_CONFIG_HEADERS([config.h])
-
-# Initialize Automake
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
-AM_MAINTAINER_MODE
-
-# Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
-m4_ifndef([XORG_MACROS_VERSION],
- [m4_fatal([must install xorg-macros 1.10 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.10)
-XORG_DEFAULT_OPTIONS
-XORG_ENABLE_SPECS
-XORG_WITH_XMLTO(0.0.20)
-XORG_WITH_FOP
-XORG_CHECK_SGML_DOCTOOLS(1.5)
-
-# Check for progs
-AC_PROG_LIBTOOL
-AC_PROG_AWK
-AM_PROG_CC_C_O
-
-# Need to call this explicitly since the first call to PKG_CHECK_MODULES
-# is in an if statement, and later calls would break if it's skipped.
-PKG_PROG_PKG_CONFIG
-
-#
-# fix libtool to set SONAME to libXaw.so.$major
-#
-AC_CONFIG_COMMANDS([libtool_hack], [
- cp -f libtool libtool_
- test -z "$SED" && SED=sed
- $SED '1,/^soname_spec/{
-/^soname_spec/i\
-# X.Org hack to match monolithic Xaw SONAME\
-xorglibxawname="libXaw"
-/^soname_spec/s/libname/xorglibxawname/
-}' libtool_ > libtool
- rm -f libtool_
-])
-
-# OSX/Win32 rules are different.
-platform_win32=no
-platform_darwin=no
-LIBEXT=so
-case $host_os in
- cygwin*|mingw*)
- LIBEXT=dll.a
- platform_win32=yes
- ;;
- darwin*)
- LIBEXT=dylib
- platform_darwin=yes
- ;;
-esac
-AC_SUBST(LIBEXT)
-AM_CONDITIONAL(PLATFORM_WIN32, test "x$platform_win32" = "xyes")
-AM_CONDITIONAL(PLATFORM_DARWIN, test "x$platform_darwin" = "xyes")
-
-# Whether to build Xaw6
-
-AC_ARG_ENABLE(xaw6, AC_HELP_STRING([--disable-xaw6],
- [Disable building of libXaw.so.6]),
- [build_v6=$enableval], [build_v6=yes])
-
-if test "x$build_v6" = xyes; then
- PKG_CHECK_MODULES(XAW6, xproto x11 xext xextproto xt xmu)
-fi
-
-
-# Whether to build Xaw7
-
-AC_ARG_ENABLE(xaw7, AC_HELP_STRING([--disable-xaw7],
- [Disable building of libXaw.so.7]),
- [build_v7=$enableval], [build_v7=yes])
-
-if test "x$build_v7" = xyes; then
- PKG_CHECK_MODULES(XAW7, xproto x11 xext xextproto xt xmu xpm)
-fi
-
-
-AM_CONDITIONAL(BUILD_XAW6, [test x$build_v6 = xyes])
-AM_CONDITIONAL(BUILD_XAW7, [test x$build_v7 = xyes])
-
-# Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([wctype.h wchar.h widec.h])
-
-# Checks for functions
-AC_CHECK_FUNCS([iswalnum getpagesize])
-
-AC_CONFIG_FILES([Makefile
- include/Makefile
- man/Makefile
- specs/Makefile
- src/Makefile])
-
-if test "x$build_v6" = xyes; then
- AC_CONFIG_FILES(xaw6.pc)
-fi
-
-if test "x$build_v7" = xyes; then
- AC_CONFIG_FILES(xaw7.pc)
-fi
-
-AC_OUTPUT
+dnl Process this file with autoconf to create configure.
+
+# Initialize Autoconf
+AC_PREREQ([2.60])
+AC_INIT([libXaw], [1.0.9],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXaw])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AM_MAINTAINER_MODE
+
+# Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
+m4_ifndef([XORG_MACROS_VERSION],
+ [m4_fatal([must install xorg-macros 1.10 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.10)
+XORG_DEFAULT_OPTIONS
+XORG_ENABLE_SPECS
+XORG_WITH_XMLTO(0.0.20)
+XORG_WITH_FOP
+XORG_CHECK_SGML_DOCTOOLS(1.5)
+
+# Check for progs
+AC_PROG_LIBTOOL
+AC_PROG_AWK
+AM_PROG_CC_C_O
+
+# Need to call this explicitly since the first call to PKG_CHECK_MODULES
+# is in an if statement, and later calls would break if it's skipped.
+PKG_PROG_PKG_CONFIG
+
+#
+# fix libtool to set SONAME to libXaw.so.$major
+#
+AC_CONFIG_COMMANDS([libtool_hack], [
+ cp -f libtool libtool_
+ test -z "$SED" && SED=sed
+ $SED '1,/^soname_spec/{
+/^soname_spec/i\
+# X.Org hack to match monolithic Xaw SONAME\
+xorglibxawname="libXaw"
+/^soname_spec/s/libname/xorglibxawname/
+}' libtool_ > libtool
+ rm -f libtool_
+])
+
+# OSX/Win32 rules are different.
+platform_win32=no
+platform_darwin=no
+LIBEXT=so
+case $host_os in
+ cygwin*|mingw*)
+ LIBEXT=dll.a
+ platform_win32=yes
+ ;;
+ darwin*)
+ LIBEXT=dylib
+ platform_darwin=yes
+ ;;
+esac
+AC_SUBST(LIBEXT)
+AM_CONDITIONAL(PLATFORM_WIN32, test "x$platform_win32" = "xyes")
+AM_CONDITIONAL(PLATFORM_DARWIN, test "x$platform_darwin" = "xyes")
+
+# Whether to build Xaw6
+
+AC_ARG_ENABLE(xaw6, AC_HELP_STRING([--disable-xaw6],
+ [Disable building of libXaw.so.6]),
+ [build_v6=$enableval], [build_v6=yes])
+
+if test "x$build_v6" = xyes; then
+ PKG_CHECK_MODULES(XAW6, xproto x11 xext xextproto xt xmu)
+fi
+
+
+# Whether to build Xaw7
+
+AC_ARG_ENABLE(xaw7, AC_HELP_STRING([--disable-xaw7],
+ [Disable building of libXaw.so.7]),
+ [build_v7=$enableval], [build_v7=yes])
+
+if test "x$build_v7" = xyes; then
+ PKG_CHECK_MODULES(XAW7, xproto x11 xext xextproto xt xmu xpm)
+fi
+
+
+AM_CONDITIONAL(BUILD_XAW6, [test x$build_v6 = xyes])
+AM_CONDITIONAL(BUILD_XAW7, [test x$build_v7 = xyes])
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([wctype.h wchar.h widec.h])
+
+# Checks for functions
+AC_CHECK_FUNCS([iswalnum getpagesize])
+
+AC_CONFIG_FILES([Makefile
+ include/Makefile
+ man/Makefile
+ specs/Makefile
+ src/Makefile])
+
+if test "x$build_v6" = xyes; then
+ AC_CONFIG_FILES(xaw6.pc)
+fi
+
+if test "x$build_v7" = xyes; then
+ AC_CONFIG_FILES(xaw7.pc)
+fi
+
+AC_OUTPUT