2 # config.values.sh --- create config.values.in from ../configure
4 # Author: Martin Buchholz
5 # Maintainer: Martin Buchholz
6 # Keywords: configure elisp report-xemacs-bugs
8 # This file is part of XEmacs.
10 # XEmacs is free software; you can redistribute it and/or modify it
11 # under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2, or (at your option)
15 # XEmacs is distributed in the hope that it will be useful, but
16 # WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 # General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with XEmacs; see the file COPYING. If not, write to
22 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA.
27 ## Extract all the @foo@ configuration symbols from ../configure
28 ## to make them available to elisp later (see util/config.el)
29 ## Primarily useful for creating ridiculously verbose bug reports.
31 ## See lisp/utils/config.el, ../configure.in,
32 ## and the Autoconf documentation on AC_OUTPUT, for more details.
34 ## This script needs only to be run occasionally (before a Net release)
35 ## by an XEmacs Maintainer (consider yourself so blessed, if you are
36 ## actually reading this commentary).
38 if test ! -r ./configure; then
40 if test ! -r ./configure; then
41 echo "Can't find configure!";
46 exec < ./configure > "lib-src/config.values.in"
48 ;;; Do not edit this file!
49 ;;; This file was automatically generated, by the config.values.sh script,
50 ;;; from configure, which was itself automatically generated from configure.in
52 ;;; See lisp/util/config.el for details on how this file is used.
54 ;;; You are trapped in a twisty maze of strange-looking files, all autogenerated...
56 ;;; configure is created, from configure.in, by autoconf
57 ;;; config.values.in is created, from configure, by config.values.sh
58 ;;; config.values is created, from config.values.in, by configure
59 ;;; config.values is read by lisp/utils/config.el,
60 ;;; to create the (Lisp object) config-value-hash-table
62 ;;; Variables defined in configure by AC_SUBST follow:
63 ;;; (These are used in Makefiles)
66 sed -n '/^s%@\([A-Za-z_][A-Za-z_]*\)@%\$\1%g$/ {
67 s/^s%@\([A-Za-z_][A-Za-z_]*\)@%\$\1%g$/\1 "@\1@"/
73 ;;; Variables defined in configure by AC_DEFINE and AC_DEFINE_UNQUOTED follow:
74 ;;; (These are used in C code)