New upstream version 2.0.1
Graham Inggs
2 years ago
0 | 2021-09-26 Graham Inggs <ginggs@riseup.net> | |
1 | * NEWS, README, configure.ac, src/main.cc: Release 2.0.1. | |
2 | * *: Update generated configuration files. | |
3 | ||
4 | 2021-09-24 Graham Inggs <ginggs@riseup.net> | |
5 | * src/buttons.cc: Force button colour for Yaru-MATE (N0rbert) and | |
6 | WhiteSur (aargar1) themes. | |
7 | ||
8 | 2021-08-30 Graham Inggs <ginggs@riseup.net> | |
9 | * src/buttons.cc: Force button colour for Mint (artisticfox8), | |
10 | Adwaita and Yaru themes. | |
11 | ||
12 | 2021-08-07 Graham Inggs <ginggs@riseup.net> | |
13 | ||
14 | * libelemental/*: Remove deprecated dynamic exception specifications (C++17). | |
15 | * libelemental/element.cc, src/main.cc: Catch exceptions by | |
16 | constant reference, not by value (C++17). | |
17 | ||
0 | 18 | 2019-07-06 Graham Inggs <ginggs@riseup.net> |
1 | 19 | |
2 | 20 | * *: Update maintainer, contributors, translators and URLs. |
0 | 0 | Installation Instructions |
1 | 1 | ************************* |
2 | 2 | |
3 | Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software | |
4 | Foundation, Inc. | |
3 | Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free | |
4 | Software Foundation, Inc. | |
5 | 5 | |
6 | 6 | Copying and distribution of this file, with or without modification, |
7 | 7 | are permitted in any medium without royalty provided the copyright |
224 | 224 | |
225 | 225 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
226 | 226 | |
227 | HP-UX 'make' updates targets which have the same time stamps as their | |
227 | HP-UX 'make' updates targets which have the same timestamps as their | |
228 | 228 | prerequisites, which makes it generally unusable when shipped generated |
229 | 229 | files such as 'configure' are involved. Use GNU 'make' instead. |
230 | 230 |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
134 | 134 | $(am__extra_recursive_targets) |
135 | 135 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
136 | 136 | cscope distdir distdir-am dist dist-all distcheck |
137 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ | |
138 | $(LISP)config.h.in | |
137 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \ | |
138 | config.h.in | |
139 | 139 | # Read a list of newline-separated strings from the standard input, |
140 | 140 | # and print each of them once, without duplicates. Input order is |
141 | 141 | # *not* preserved. |
152 | 152 | unique=`for i in $$list; do \ |
153 | 153 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
154 | 154 | done | $(am__uniquify_input)` |
155 | ETAGS = etags | |
156 | CTAGS = ctags | |
157 | CSCOPE = cscope | |
158 | 155 | DIST_SUBDIRS = $(SUBDIRS) |
159 | 156 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ |
160 | 157 | COPYING ChangeLog INSTALL NEWS README TODO compile \ |
197 | 194 | GZIP_ENV = --best |
198 | 195 | DIST_ARCHIVES = $(distdir).tar.bz2 |
199 | 196 | DIST_TARGETS = dist-bzip2 |
197 | # Exists only to be overridden by the user if desired. | |
198 | AM_DISTCHECK_DVI_TARGET = dvi | |
200 | 199 | distuninstallcheck_listfiles = find . -type f -print |
201 | 200 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
202 | 201 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
218 | 217 | CFLAGS = @CFLAGS@ |
219 | 218 | CPP = @CPP@ |
220 | 219 | CPPFLAGS = @CPPFLAGS@ |
220 | CSCOPE = @CSCOPE@ | |
221 | CTAGS = @CTAGS@ | |
221 | 222 | CXX = @CXX@ |
222 | 223 | CXXCPP = @CXXCPP@ |
223 | 224 | CXXDEPMODE = @CXXDEPMODE@ |
234 | 235 | ECHO_N = @ECHO_N@ |
235 | 236 | ECHO_T = @ECHO_T@ |
236 | 237 | EGREP = @EGREP@ |
238 | ETAGS = @ETAGS@ | |
237 | 239 | EXEEXT = @EXEEXT@ |
238 | 240 | FGREP = @FGREP@ |
239 | 241 | GELEMENTAL_CFLAGS = @GELEMENTAL_CFLAGS@ |
541 | 543 | distclean-tags: |
542 | 544 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
543 | 545 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
544 | ||
545 | 546 | distdir: $(BUILT_SOURCES) |
546 | 547 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
547 | 548 | |
624 | 625 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
625 | 626 | $(am__post_remove_distdir) |
626 | 627 | |
628 | dist-zstd: distdir | |
629 | tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst | |
630 | $(am__post_remove_distdir) | |
631 | ||
627 | 632 | dist-tarZ: distdir |
628 | 633 | @echo WARNING: "Support for distribution archives compressed with" \ |
629 | 634 | "legacy program 'compress' is deprecated." >&2 |
666 | 671 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ |
667 | 672 | *.zip*) \ |
668 | 673 | unzip $(distdir).zip ;;\ |
674 | *.tar.zst*) \ | |
675 | zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ | |
669 | 676 | esac |
670 | 677 | chmod -R a-w $(distdir) |
671 | 678 | chmod u+w $(distdir) |
681 | 688 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
682 | 689 | --srcdir=../.. --prefix="$$dc_install_base" \ |
683 | 690 | && $(MAKE) $(AM_MAKEFLAGS) \ |
684 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |
691 | && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ | |
685 | 692 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
686 | 693 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
687 | 694 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
844 | 851 | am--refresh check check-am clean clean-cscope clean-generic \ |
845 | 852 | clean-libtool cscope cscopelist-am ctags ctags-am dist \ |
846 | 853 | dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ |
847 | dist-xz dist-zip distcheck distclean distclean-generic \ | |
848 | distclean-hdr distclean-libtool distclean-tags distcleancheck \ | |
849 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
850 | info-am install install-am install-data install-data-am \ | |
851 | install-dvi install-dvi-am install-exec install-exec-am \ | |
852 | install-html install-html-am install-info install-info-am \ | |
853 | install-man install-pdf install-pdf-am install-ps \ | |
854 | install-ps-am install-strip installcheck installcheck-am \ | |
855 | installdirs installdirs-am maintainer-clean \ | |
856 | maintainer-clean-generic mostlyclean mostlyclean-generic \ | |
857 | mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ | |
858 | uninstall-am | |
854 | dist-xz dist-zip dist-zstd distcheck distclean \ | |
855 | distclean-generic distclean-hdr distclean-libtool \ | |
856 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | |
857 | dvi-am html html-am info info-am install install-am \ | |
858 | install-data install-data-am install-dvi install-dvi-am \ | |
859 | install-exec install-exec-am install-html install-html-am \ | |
860 | install-info install-info-am install-man install-pdf \ | |
861 | install-pdf-am install-ps install-ps-am install-strip \ | |
862 | installcheck installcheck-am installdirs installdirs-am \ | |
863 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
864 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |
865 | tags tags-am uninstall uninstall-am | |
859 | 866 | |
860 | 867 | .PRECIOUS: Makefile |
861 | 868 |
0 | 0 | gElemental NEWS |
1 | 1 | =============== |
2 | ||
3 | Version 2.0.1 [stable] | |
4 | ====================== | |
5 | ||
6 | This is a maintenance release of gElemental which is C++17 compatible and | |
7 | forces button colours for several modern themes. | |
2 | 8 | |
3 | 9 | Version 2.0.0 [stable] |
4 | 10 | ---------------------- |
5 | 11 | |
6 | This release of gElemental relects the transfer to a new maintainer. | |
12 | This release of gElemental reflects the transfer to a new maintainer. | |
7 | 13 | It includes several bugfixes from the Debichem Team, some minor interface |
8 | 14 | improvements, and the addition of new element names. |
9 | 15 |
7 | 7 | |
8 | 8 | For more information, see <https://github.com/ginggs/gelemental>. |
9 | 9 | |
10 | Copyright (C) 2016-2019 Graham Inggs <ginggs@riseup.net>. | |
10 | Copyright (C) 2016-2021 Graham Inggs <ginggs@riseup.net>. | |
11 | 11 | Copyright (C) 2006-2007 Kevin Daughtridge <kevin@kdau.com>. |
12 | 12 | |
13 | 13 | Chemical data are largely derived from the Blue Obelisk Data Repository |
0 | # generated automatically by aclocal 1.16.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.16.4 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
1731 | 1731 | _LT_EOF |
1732 | 1732 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
1733 | 1733 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD |
1734 | echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD | |
1735 | $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD | |
1734 | echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD | |
1735 | $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD | |
1736 | 1736 | echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
1737 | 1737 | $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
1738 | 1738 | cat > conftest.c << _LT_EOF |
1761 | 1761 | # to the OS version, if on x86, and 10.4, the deployment |
1762 | 1762 | # target defaults to 10.4. Don't you love it? |
1763 | 1763 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
1764 | 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) | |
1764 | 10.0,*86*-darwin8*|10.0,*-darwin[[912]]*) | |
1765 | 1765 | _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
1766 | 1766 | 10.[[012]][[,.]]*) |
1767 | 1767 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
1768 | 10.*) | |
1768 | 10.*|11.*) | |
1769 | 1769 | _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
1770 | 1770 | esac |
1771 | 1771 | ;; |
2182 | 2182 | m4_defun([_LT_PROG_AR], |
2183 | 2183 | [AC_CHECK_TOOLS(AR, [ar], false) |
2184 | 2184 | : ${AR=ar} |
2185 | : ${AR_FLAGS=cru} | |
2185 | : ${AR_FLAGS=cr} | |
2186 | 2186 | _LT_DECL([], [AR], [1], [The archiver]) |
2187 | 2187 | _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) |
2188 | 2188 | |
9750 | 9750 | m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
9751 | 9751 | m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
9752 | 9752 | |
9753 | # nls.m4 serial 5 (gettext-0.18) | |
9754 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software | |
9755 | dnl Foundation, Inc. | |
9753 | # nls.m4 serial 6 (gettext-0.20.2) | |
9754 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019-2020 Free | |
9755 | dnl Software Foundation, Inc. | |
9756 | 9756 | dnl This file is free software; the Free Software Foundation |
9757 | 9757 | dnl gives unlimited permission to copy and/or distribute it, |
9758 | 9758 | dnl with or without modifications, as long as this notice is preserved. |
9759 | 9759 | dnl |
9760 | 9760 | dnl This file can be used in projects which are not available under |
9761 | dnl the GNU General Public License or the GNU Library General Public | |
9761 | dnl the GNU General Public License or the GNU Lesser General Public | |
9762 | 9762 | dnl License but which still want to provide support for the GNU gettext |
9763 | 9763 | dnl functionality. |
9764 | 9764 | dnl Please note that the actual code of the GNU gettext library is covered |
9765 | dnl by the GNU Library General Public License, and the rest of the GNU | |
9765 | dnl by the GNU Lesser General Public License, and the rest of the GNU | |
9766 | 9766 | dnl gettext package is covered by the GNU General Public License. |
9767 | 9767 | dnl They are *not* in the public domain. |
9768 | 9768 | |
9783 | 9783 | AC_SUBST([USE_NLS]) |
9784 | 9784 | ]) |
9785 | 9785 | |
9786 | dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | |
9787 | dnl serial 11 (pkg-config-0.29.1) | |
9788 | dnl | |
9786 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | |
9787 | # serial 12 (pkg-config-0.29.2) | |
9788 | ||
9789 | 9789 | dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
9790 | 9790 | dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> |
9791 | 9791 | dnl |
9826 | 9826 | dnl See the "Since" comment for each macro you use to see what version |
9827 | 9827 | dnl of the macros you require. |
9828 | 9828 | m4_defun([PKG_PREREQ], |
9829 | [m4_define([PKG_MACROS_VERSION], [0.29.1]) | |
9829 | [m4_define([PKG_MACROS_VERSION], [0.29.2]) | |
9830 | 9830 | m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, |
9831 | 9831 | [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) |
9832 | 9832 | ])dnl PKG_PREREQ |
9927 | 9927 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
9928 | 9928 | |
9929 | 9929 | pkg_failed=no |
9930 | AC_MSG_CHECKING([for $1]) | |
9930 | AC_MSG_CHECKING([for $2]) | |
9931 | 9931 | |
9932 | 9932 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
9933 | 9933 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
9937 | 9937 | See the pkg-config man page for more details.]) |
9938 | 9938 | |
9939 | 9939 | if test $pkg_failed = yes; then |
9940 | AC_MSG_RESULT([no]) | |
9940 | AC_MSG_RESULT([no]) | |
9941 | 9941 | _PKG_SHORT_ERRORS_SUPPORTED |
9942 | 9942 | if test $_pkg_short_errors_supported = yes; then |
9943 | 9943 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
9944 | else | |
9944 | else | |
9945 | 9945 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
9946 | 9946 | fi |
9947 | 9947 | # Put the nasty error message in config.log where it belongs |
9958 | 9958 | _PKG_TEXT])[]dnl |
9959 | 9959 | ]) |
9960 | 9960 | elif test $pkg_failed = untried; then |
9961 | AC_MSG_RESULT([no]) | |
9961 | AC_MSG_RESULT([no]) | |
9962 | 9962 | m4_default([$4], [AC_MSG_FAILURE( |
9963 | 9963 | [The pkg-config script could not be found or is too old. Make sure it |
9964 | 9964 | is in your PATH or set the PKG_CONFIG environment variable to the full |
10059 | 10059 | AS_VAR_IF([$1], [""], [$5], [$4])dnl |
10060 | 10060 | ])dnl PKG_CHECK_VAR |
10061 | 10061 | |
10062 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
10062 | # Copyright (C) 2002-2021 Free Software Foundation, Inc. | |
10063 | 10063 | # |
10064 | 10064 | # This file is free software; the Free Software Foundation |
10065 | 10065 | # gives unlimited permission to copy and/or distribute it, |
10074 | 10074 | [am__api_version='1.16' |
10075 | 10075 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
10076 | 10076 | dnl require some minimum version. Point them to the right macro. |
10077 | m4_if([$1], [1.16.1], [], | |
10077 | m4_if([$1], [1.16.4], [], | |
10078 | 10078 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
10079 | 10079 | ]) |
10080 | 10080 | |
10090 | 10090 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
10091 | 10091 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
10092 | 10092 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
10093 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
10093 | [AM_AUTOMAKE_VERSION([1.16.4])dnl | |
10094 | 10094 | m4_ifndef([AC_AUTOCONF_VERSION], |
10095 | 10095 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
10096 | 10096 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
10097 | 10097 | |
10098 | 10098 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
10099 | 10099 | |
10100 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
10100 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. | |
10101 | 10101 | # |
10102 | 10102 | # This file is free software; the Free Software Foundation |
10103 | 10103 | # gives unlimited permission to copy and/or distribute it, |
10149 | 10149 | |
10150 | 10150 | # AM_CONDITIONAL -*- Autoconf -*- |
10151 | 10151 | |
10152 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
10152 | # Copyright (C) 1997-2021 Free Software Foundation, Inc. | |
10153 | 10153 | # |
10154 | 10154 | # This file is free software; the Free Software Foundation |
10155 | 10155 | # gives unlimited permission to copy and/or distribute it, |
10180 | 10180 | Usually this means the macro was only invoked conditionally.]]) |
10181 | 10181 | fi])]) |
10182 | 10182 | |
10183 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
10183 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. | |
10184 | 10184 | # |
10185 | 10185 | # This file is free software; the Free Software Foundation |
10186 | 10186 | # gives unlimited permission to copy and/or distribute it, |
10371 | 10371 | |
10372 | 10372 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
10373 | 10373 | |
10374 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
10374 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. | |
10375 | 10375 | # |
10376 | 10376 | # This file is free software; the Free Software Foundation |
10377 | 10377 | # gives unlimited permission to copy and/or distribute it, |
10410 | 10410 | done |
10411 | 10411 | if test $am_rc -ne 0; then |
10412 | 10412 | AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments |
10413 | for automatic dependency tracking. Try re-running configure with the | |
10413 | for automatic dependency tracking. If GNU make was not used, consider | |
10414 | re-running the configure script with MAKE="gmake" (or whatever is | |
10415 | necessary). You can also try re-running configure with the | |
10414 | 10416 | '--disable-dependency-tracking' option to at least be able to build |
10415 | 10417 | the package (albeit without support for automatic dependency tracking).]) |
10416 | 10418 | fi |
10437 | 10439 | |
10438 | 10440 | # Do all the work for Automake. -*- Autoconf -*- |
10439 | 10441 | |
10440 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
10442 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. | |
10441 | 10443 | # |
10442 | 10444 | # This file is free software; the Free Software Foundation |
10443 | 10445 | # gives unlimited permission to copy and/or distribute it, |
10501 | 10503 | [_AM_SET_OPTIONS([$1])dnl |
10502 | 10504 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
10503 | 10505 | m4_if( |
10504 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
10506 | m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), | |
10505 | 10507 | [ok:ok],, |
10506 | 10508 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
10507 | 10509 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
10553 | 10555 | [m4_define([AC_PROG_OBJCXX], |
10554 | 10556 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
10555 | 10557 | ]) |
10558 | # Variables for tags utilities; see am/tags.am | |
10559 | if test -z "$CTAGS"; then | |
10560 | CTAGS=ctags | |
10561 | fi | |
10562 | AC_SUBST([CTAGS]) | |
10563 | if test -z "$ETAGS"; then | |
10564 | ETAGS=etags | |
10565 | fi | |
10566 | AC_SUBST([ETAGS]) | |
10567 | if test -z "$CSCOPE"; then | |
10568 | CSCOPE=cscope | |
10569 | fi | |
10570 | AC_SUBST([CSCOPE]) | |
10571 | ||
10556 | 10572 | AC_REQUIRE([AM_SILENT_RULES])dnl |
10557 | 10573 | dnl The testsuite driver may need to know about EXEEXT, so add the |
10558 | 10574 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
10634 | 10650 | done |
10635 | 10651 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
10636 | 10652 | |
10637 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
10653 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. | |
10638 | 10654 | # |
10639 | 10655 | # This file is free software; the Free Software Foundation |
10640 | 10656 | # gives unlimited permission to copy and/or distribute it, |
10655 | 10671 | fi |
10656 | 10672 | AC_SUBST([install_sh])]) |
10657 | 10673 | |
10658 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
10674 | # Copyright (C) 2003-2021 Free Software Foundation, Inc. | |
10659 | 10675 | # |
10660 | 10676 | # This file is free software; the Free Software Foundation |
10661 | 10677 | # gives unlimited permission to copy and/or distribute it, |
10677 | 10693 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
10678 | 10694 | # From Jim Meyering |
10679 | 10695 | |
10680 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
10696 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. | |
10681 | 10697 | # |
10682 | 10698 | # This file is free software; the Free Software Foundation |
10683 | 10699 | # gives unlimited permission to copy and/or distribute it, |
10712 | 10728 | |
10713 | 10729 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
10714 | 10730 | |
10715 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
10731 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. | |
10716 | 10732 | # |
10717 | 10733 | # This file is free software; the Free Software Foundation |
10718 | 10734 | # gives unlimited permission to copy and/or distribute it, |
10755 | 10771 | |
10756 | 10772 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
10757 | 10773 | |
10758 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
10774 | # Copyright (C) 1997-2021 Free Software Foundation, Inc. | |
10759 | 10775 | # |
10760 | 10776 | # This file is free software; the Free Software Foundation |
10761 | 10777 | # gives unlimited permission to copy and/or distribute it, |
10776 | 10792 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
10777 | 10793 | AC_REQUIRE_AUX_FILE([missing])dnl |
10778 | 10794 | if test x"${MISSING+set}" != xset; then |
10779 | case $am_aux_dir in | |
10780 | *\ * | *\ *) | |
10781 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
10782 | *) | |
10783 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
10784 | esac | |
10795 | MISSING="\${SHELL} '$am_aux_dir/missing'" | |
10785 | 10796 | fi |
10786 | 10797 | # Use eval to expand $SHELL |
10787 | 10798 | if eval "$MISSING --is-lightweight"; then |
10794 | 10805 | |
10795 | 10806 | # Helper functions for option handling. -*- Autoconf -*- |
10796 | 10807 | |
10797 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
10808 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. | |
10798 | 10809 | # |
10799 | 10810 | # This file is free software; the Free Software Foundation |
10800 | 10811 | # gives unlimited permission to copy and/or distribute it, |
10823 | 10834 | AC_DEFUN([_AM_IF_OPTION], |
10824 | 10835 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
10825 | 10836 | |
10826 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
10837 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. | |
10827 | 10838 | # |
10828 | 10839 | # This file is free software; the Free Software Foundation |
10829 | 10840 | # gives unlimited permission to copy and/or distribute it, |
10870 | 10881 | # For backward compatibility. |
10871 | 10882 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
10872 | 10883 | |
10873 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
10884 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. | |
10874 | 10885 | # |
10875 | 10886 | # This file is free software; the Free Software Foundation |
10876 | 10887 | # gives unlimited permission to copy and/or distribute it, |
10889 | 10900 | |
10890 | 10901 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
10891 | 10902 | |
10892 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
10903 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. | |
10893 | 10904 | # |
10894 | 10905 | # This file is free software; the Free Software Foundation |
10895 | 10906 | # gives unlimited permission to copy and/or distribute it, |
10970 | 10981 | rm -f conftest.file |
10971 | 10982 | ]) |
10972 | 10983 | |
10973 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
10984 | # Copyright (C) 2009-2021 Free Software Foundation, Inc. | |
10974 | 10985 | # |
10975 | 10986 | # This file is free software; the Free Software Foundation |
10976 | 10987 | # gives unlimited permission to copy and/or distribute it, |
11030 | 11041 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
11031 | 11042 | ]) |
11032 | 11043 | |
11033 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
11044 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. | |
11034 | 11045 | # |
11035 | 11046 | # This file is free software; the Free Software Foundation |
11036 | 11047 | # gives unlimited permission to copy and/or distribute it, |
11058 | 11069 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
11059 | 11070 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
11060 | 11071 | |
11061 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
11072 | # Copyright (C) 2006-2021 Free Software Foundation, Inc. | |
11062 | 11073 | # |
11063 | 11074 | # This file is free software; the Free Software Foundation |
11064 | 11075 | # gives unlimited permission to copy and/or distribute it, |
11077 | 11088 | |
11078 | 11089 | # Check how to create a tarball. -*- Autoconf -*- |
11079 | 11090 | |
11080 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
11091 | # Copyright (C) 2004-2021 Free Software Foundation, Inc. | |
11081 | 11092 | # |
11082 | 11093 | # This file is free software; the Free Software Foundation |
11083 | 11094 | # gives unlimited permission to copy and/or distribute it, |
2 | 2 | |
3 | 3 | scriptversion=2018-03-07.03; # UTC |
4 | 4 | |
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
52 | 52 | MINGW*) |
53 | 53 | file_conv=mingw |
54 | 54 | ;; |
55 | CYGWIN*) | |
55 | CYGWIN* | MSYS*) | |
56 | 56 | file_conv=cygwin |
57 | 57 | ;; |
58 | 58 | *) |
66 | 66 | mingw/*) |
67 | 67 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` |
68 | 68 | ;; |
69 | cygwin/*) | |
69 | cygwin/* | msys/*) | |
70 | 70 | file=`cygpath -m "$file" || echo "$file"` |
71 | 71 | ;; |
72 | 72 | wine/*) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for gElemental 2.0.0. | |
2 | # Generated by GNU Autoconf 2.69 for gElemental 2.0.1. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
586 | 586 | # Identity of this package. |
587 | 587 | PACKAGE_NAME='gElemental' |
588 | 588 | PACKAGE_TARNAME='gelemental' |
589 | PACKAGE_VERSION='2.0.0' | |
590 | PACKAGE_STRING='gElemental 2.0.0' | |
589 | PACKAGE_VERSION='2.0.1' | |
590 | PACKAGE_STRING='gElemental 2.0.1' | |
591 | 591 | PACKAGE_BUGREPORT='' |
592 | 592 | PACKAGE_URL='' |
593 | 593 | |
763 | 763 | AM_DEFAULT_VERBOSITY |
764 | 764 | AM_DEFAULT_V |
765 | 765 | AM_V |
766 | CSCOPE | |
767 | ETAGS | |
768 | CTAGS | |
766 | 769 | am__untar |
767 | 770 | am__tar |
768 | 771 | AMTAR |
1415 | 1418 | # Omit some internal or obsolete options to make the list less imposing. |
1416 | 1419 | # This message is too long to be a string in the A/UX 3.1 sh. |
1417 | 1420 | cat <<_ACEOF |
1418 | \`configure' configures gElemental 2.0.0 to adapt to many kinds of systems. | |
1421 | \`configure' configures gElemental 2.0.1 to adapt to many kinds of systems. | |
1419 | 1422 | |
1420 | 1423 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1421 | 1424 | |
1486 | 1489 | |
1487 | 1490 | if test -n "$ac_init_help"; then |
1488 | 1491 | case $ac_init_help in |
1489 | short | recursive ) echo "Configuration of gElemental 2.0.0:";; | |
1492 | short | recursive ) echo "Configuration of gElemental 2.0.1:";; | |
1490 | 1493 | esac |
1491 | 1494 | cat <<\_ACEOF |
1492 | 1495 | |
1618 | 1621 | test -n "$ac_init_help" && exit $ac_status |
1619 | 1622 | if $ac_init_version; then |
1620 | 1623 | cat <<\_ACEOF |
1621 | gElemental configure 2.0.0 | |
1624 | gElemental configure 2.0.1 | |
1622 | 1625 | generated by GNU Autoconf 2.69 |
1623 | 1626 | |
1624 | 1627 | Copyright (C) 2012 Free Software Foundation, Inc. |
2104 | 2107 | This file contains any messages produced by compilers while |
2105 | 2108 | running configure, to aid debugging if configure makes a mistake. |
2106 | 2109 | |
2107 | It was created by gElemental $as_me 2.0.0, which was | |
2110 | It was created by gElemental $as_me 2.0.1, which was | |
2108 | 2111 | generated by GNU Autoconf 2.69. Invocation command line was |
2109 | 2112 | |
2110 | 2113 | $ $0 $@ |
2659 | 2662 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
2660 | 2663 | |
2661 | 2664 | if test x"${MISSING+set}" != xset; then |
2662 | case $am_aux_dir in | |
2663 | *\ * | *\ *) | |
2664 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2665 | *) | |
2666 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2667 | esac | |
2665 | MISSING="\${SHELL} '$am_aux_dir/missing'" | |
2668 | 2666 | fi |
2669 | 2667 | # Use eval to expand $SHELL |
2670 | 2668 | if eval "$MISSING --is-lightweight"; then |
2969 | 2967 | |
2970 | 2968 | # Define the identity of the package. |
2971 | 2969 | PACKAGE='gelemental' |
2972 | VERSION='2.0.0' | |
2970 | VERSION='2.0.1' | |
2973 | 2971 | |
2974 | 2972 | |
2975 | 2973 | cat >>confdefs.h <<_ACEOF |
3017 | 3015 | |
3018 | 3016 | |
3019 | 3017 | |
3018 | ||
3019 | ||
3020 | # Variables for tags utilities; see am/tags.am | |
3021 | if test -z "$CTAGS"; then | |
3022 | CTAGS=ctags | |
3023 | fi | |
3024 | ||
3025 | if test -z "$ETAGS"; then | |
3026 | ETAGS=etags | |
3027 | fi | |
3028 | ||
3029 | if test -z "$CSCOPE"; then | |
3030 | CSCOPE=cscope | |
3031 | fi | |
3020 | 3032 | |
3021 | 3033 | |
3022 | 3034 | |
6186 | 6198 | fi |
6187 | 6199 | |
6188 | 6200 | : ${AR=ar} |
6189 | : ${AR_FLAGS=cru} | |
6201 | : ${AR_FLAGS=cr} | |
6190 | 6202 | |
6191 | 6203 | |
6192 | 6204 | |
7907 | 7919 | _LT_EOF |
7908 | 7920 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
7909 | 7921 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
7910 | echo "$AR cru libconftest.a conftest.o" >&5 | |
7911 | $AR cru libconftest.a conftest.o 2>&5 | |
7922 | echo "$AR cr libconftest.a conftest.o" >&5 | |
7923 | $AR cr libconftest.a conftest.o 2>&5 | |
7912 | 7924 | echo "$RANLIB libconftest.a" >&5 |
7913 | 7925 | $RANLIB libconftest.a 2>&5 |
7914 | 7926 | cat > conftest.c << _LT_EOF |
7940 | 7952 | # to the OS version, if on x86, and 10.4, the deployment |
7941 | 7953 | # target defaults to 10.4. Don't you love it? |
7942 | 7954 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
7943 | 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | |
7955 | 10.0,*86*-darwin8*|10.0,*-darwin[912]*) | |
7944 | 7956 | _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
7945 | 7957 | 10.[012][,.]*) |
7946 | 7958 | _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
7947 | 10.*) | |
7959 | 10.*|11.*) | |
7948 | 7960 | _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
7949 | 7961 | esac |
7950 | 7962 | ;; |
16052 | 16064 | fi |
16053 | 16065 | |
16054 | 16066 | pkg_failed=no |
16055 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBELEMENTAL" >&5 | |
16056 | $as_echo_n "checking for LIBELEMENTAL... " >&6; } | |
16067 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm-2.4 >= 2.6.0 pango" >&5 | |
16068 | $as_echo_n "checking for glibmm-2.4 >= 2.6.0 pango... " >&6; } | |
16057 | 16069 | |
16058 | 16070 | if test -n "$LIBELEMENTAL_CFLAGS"; then |
16059 | 16071 | pkg_cv_LIBELEMENTAL_CFLAGS="$LIBELEMENTAL_CFLAGS" |
16093 | 16105 | |
16094 | 16106 | |
16095 | 16107 | if test $pkg_failed = yes; then |
16096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16108 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16097 | 16109 | $as_echo "no" >&6; } |
16098 | 16110 | |
16099 | 16111 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
16120 | 16132 | and LIBELEMENTAL_LIBS to avoid the need to call pkg-config. |
16121 | 16133 | See the pkg-config man page for more details." "$LINENO" 5 |
16122 | 16134 | elif test $pkg_failed = untried; then |
16123 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16124 | 16136 | $as_echo "no" >&6; } |
16125 | 16137 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
16126 | 16138 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
16143 | 16155 | fi |
16144 | 16156 | |
16145 | 16157 | pkg_failed=no |
16146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GELEMENTAL" >&5 | |
16147 | $as_echo_n "checking for GELEMENTAL... " >&6; } | |
16158 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkmm-2.4 >= 2.6.0" >&5 | |
16159 | $as_echo_n "checking for gtkmm-2.4 >= 2.6.0... " >&6; } | |
16148 | 16160 | |
16149 | 16161 | if test -n "$GELEMENTAL_CFLAGS"; then |
16150 | 16162 | pkg_cv_GELEMENTAL_CFLAGS="$GELEMENTAL_CFLAGS" |
16184 | 16196 | |
16185 | 16197 | |
16186 | 16198 | if test $pkg_failed = yes; then |
16187 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16199 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16188 | 16200 | $as_echo "no" >&6; } |
16189 | 16201 | |
16190 | 16202 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
16211 | 16223 | and GELEMENTAL_LIBS to avoid the need to call pkg-config. |
16212 | 16224 | See the pkg-config man page for more details." "$LINENO" 5 |
16213 | 16225 | elif test $pkg_failed = untried; then |
16214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
16215 | 16227 | $as_echo "no" >&6; } |
16216 | 16228 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
16217 | 16229 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
18257 | 18269 | # report actual input values of CONFIG_FILES etc. instead of their |
18258 | 18270 | # values after options handling. |
18259 | 18271 | ac_log=" |
18260 | This file was extended by gElemental $as_me 2.0.0, which was | |
18272 | This file was extended by gElemental $as_me 2.0.1, which was | |
18261 | 18273 | generated by GNU Autoconf 2.69. Invocation command line was |
18262 | 18274 | |
18263 | 18275 | CONFIG_FILES = $CONFIG_FILES |
18323 | 18335 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
18324 | 18336 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
18325 | 18337 | ac_cs_version="\\ |
18326 | gElemental config.status 2.0.0 | |
18338 | gElemental config.status 2.0.1 | |
18327 | 18339 | configured by $0, generated by GNU Autoconf 2.69, |
18328 | 18340 | with options \\"\$ac_cs_config\\" |
18329 | 18341 | |
19527 | 19539 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
19528 | 19540 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
19529 | 19541 | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
19530 | for automatic dependency tracking. Try re-running configure with the | |
19542 | for automatic dependency tracking. If GNU make was not used, consider | |
19543 | re-running the configure script with MAKE=\"gmake\" (or whatever is | |
19544 | necessary). You can also try re-running configure with the | |
19531 | 19545 | '--disable-dependency-tracking' option to at least be able to build |
19532 | 19546 | the package (albeit without support for automatic dependency tracking). |
19533 | 19547 | See \`config.log' for more details" "$LINENO" 5; } |
1 | 1 | |
2 | 2 | AC_PREREQ([2.59]) |
3 | 3 | |
4 | AC_INIT([gElemental], [2.0.0], [], [gelemental]) | |
4 | AC_INIT([gElemental], [2.0.1], [], [gelemental]) | |
5 | 5 | AC_CONFIG_SRCDIR([src/main.cc]) |
6 | 6 | |
7 | 7 | AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip]) |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
174 | 174 | CFLAGS = @CFLAGS@ |
175 | 175 | CPP = @CPP@ |
176 | 176 | CPPFLAGS = @CPPFLAGS@ |
177 | CSCOPE = @CSCOPE@ | |
178 | CTAGS = @CTAGS@ | |
177 | 179 | CXX = @CXX@ |
178 | 180 | CXXCPP = @CXXCPP@ |
179 | 181 | CXXDEPMODE = @CXXDEPMODE@ |
190 | 192 | ECHO_N = @ECHO_N@ |
191 | 193 | ECHO_T = @ECHO_T@ |
192 | 194 | EGREP = @EGREP@ |
195 | ETAGS = @ETAGS@ | |
193 | 196 | EXEEXT = @EXEEXT@ |
194 | 197 | FGREP = @FGREP@ |
195 | 198 | GELEMENTAL_CFLAGS = @GELEMENTAL_CFLAGS@ |
568 | 571 | |
569 | 572 | cscope cscopelist: |
570 | 573 | |
571 | ||
572 | 574 | distdir: $(BUILT_SOURCES) |
573 | 575 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
574 | 576 |
2 | 2 | |
3 | 3 | scriptversion=2018-03-07.03; # UTC |
4 | 4 | |
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
179 | 179 | unique=`for i in $$list; do \ |
180 | 180 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
181 | 181 | done | $(am__uniquify_input)` |
182 | ETAGS = etags | |
183 | CTAGS = ctags | |
184 | 182 | DIST_SUBDIRS = api |
185 | 183 | am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in |
186 | 184 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
226 | 224 | CFLAGS = @CFLAGS@ |
227 | 225 | CPP = @CPP@ |
228 | 226 | CPPFLAGS = @CPPFLAGS@ |
227 | CSCOPE = @CSCOPE@ | |
228 | CTAGS = @CTAGS@ | |
229 | 229 | CXX = @CXX@ |
230 | 230 | CXXCPP = @CXXCPP@ |
231 | 231 | CXXDEPMODE = @CXXDEPMODE@ |
242 | 242 | ECHO_N = @ECHO_N@ |
243 | 243 | ECHO_T = @ECHO_T@ |
244 | 244 | EGREP = @EGREP@ |
245 | ETAGS = @ETAGS@ | |
245 | 246 | EXEEXT = @EXEEXT@ |
246 | 247 | FGREP = @FGREP@ |
247 | 248 | GELEMENTAL_CFLAGS = @GELEMENTAL_CFLAGS@ |
561 | 562 | |
562 | 563 | distclean-tags: |
563 | 564 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
564 | ||
565 | 565 | distdir: $(BUILT_SOURCES) |
566 | 566 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
567 | 567 |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
135 | 135 | CFLAGS = @CFLAGS@ |
136 | 136 | CPP = @CPP@ |
137 | 137 | CPPFLAGS = @CPPFLAGS@ |
138 | CSCOPE = @CSCOPE@ | |
139 | CTAGS = @CTAGS@ | |
138 | 140 | CXX = @CXX@ |
139 | 141 | CXXCPP = @CXXCPP@ |
140 | 142 | CXXDEPMODE = @CXXDEPMODE@ |
151 | 153 | ECHO_N = @ECHO_N@ |
152 | 154 | ECHO_T = @ECHO_T@ |
153 | 155 | EGREP = @EGREP@ |
156 | ETAGS = @ETAGS@ | |
154 | 157 | EXEEXT = @EXEEXT@ |
155 | 158 | FGREP = @FGREP@ |
156 | 159 | GELEMENTAL_CFLAGS = @GELEMENTAL_CFLAGS@ |
337 | 340 | |
338 | 341 | cscope cscopelist: |
339 | 342 | |
340 | ||
341 | 343 | distdir: $(BUILT_SOURCES) |
342 | 344 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
343 | 345 |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2018-03-11.20; # UTC | |
3 | scriptversion=2020-11-14.01; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
68 | 68 | # Desired mode of installed file. |
69 | 69 | mode=0755 |
70 | 70 | |
71 | # Create dirs (including intermediate dirs) using mode 755. | |
72 | # This is like GNU 'install' as of coreutils 8.32 (2020). | |
73 | mkdir_umask=22 | |
74 | ||
75 | backupsuffix= | |
71 | 76 | chgrpcmd= |
72 | 77 | chmodcmd=$chmodprog |
73 | 78 | chowncmd= |
98 | 103 | --version display version info and exit. |
99 | 104 | |
100 | 105 | -c (ignored) |
101 | -C install only if different (preserve the last data modification time) | |
106 | -C install only if different (preserve data modification time) | |
102 | 107 | -d create directories instead of installing files. |
103 | 108 | -g GROUP $chgrpprog installed files to GROUP. |
104 | 109 | -m MODE $chmodprog installed files to MODE. |
105 | 110 | -o USER $chownprog installed files to USER. |
111 | -p pass -p to $cpprog. | |
106 | 112 | -s $stripprog installed files. |
113 | -S SUFFIX attempt to back up existing files, with suffix SUFFIX. | |
107 | 114 | -t DIRECTORY install into DIRECTORY. |
108 | 115 | -T report an error if DSTFILE is a directory. |
109 | 116 | |
110 | 117 | Environment variables override the default commands: |
111 | 118 | CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG |
112 | 119 | RMPROG STRIPPROG |
120 | ||
121 | By default, rm is invoked with -f; when overridden with RMPROG, | |
122 | it's up to you to specify -f if you want it. | |
123 | ||
124 | If -S is not specified, no backups are attempted. | |
125 | ||
126 | Email bug reports to bug-automake@gnu.org. | |
127 | Automake home page: https://www.gnu.org/software/automake/ | |
113 | 128 | " |
114 | 129 | |
115 | 130 | while test $# -ne 0; do |
136 | 151 | -o) chowncmd="$chownprog $2" |
137 | 152 | shift;; |
138 | 153 | |
154 | -p) cpprog="$cpprog -p";; | |
155 | ||
139 | 156 | -s) stripcmd=$stripprog;; |
157 | ||
158 | -S) backupsuffix="$2" | |
159 | shift;; | |
140 | 160 | |
141 | 161 | -t) |
142 | 162 | is_target_a_directory=always |
254 | 274 | dstdir=$dst |
255 | 275 | test -d "$dstdir" |
256 | 276 | dstdir_status=$? |
277 | # Don't chown directories that already exist. | |
278 | if test $dstdir_status = 0; then | |
279 | chowncmd="" | |
280 | fi | |
257 | 281 | else |
258 | 282 | |
259 | 283 | # Waiting for this to be detected by the "$cpprog $src $dsttmp" command |
300 | 324 | if test $dstdir_status != 0; then |
301 | 325 | case $posix_mkdir in |
302 | 326 | '') |
303 | # Create intermediate dirs using mode 755 as modified by the umask. | |
304 | # This is like FreeBSD 'install' as of 1997-10-28. | |
305 | umask=`umask` | |
306 | case $stripcmd.$umask in | |
307 | # Optimize common cases. | |
308 | *[2367][2367]) mkdir_umask=$umask;; | |
309 | .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; | |
310 | ||
311 | *[0-7]) | |
312 | mkdir_umask=`expr $umask + 22 \ | |
313 | - $umask % 100 % 40 + $umask % 20 \ | |
314 | - $umask % 10 % 4 + $umask % 2 | |
315 | `;; | |
316 | *) mkdir_umask=$umask,go-w;; | |
317 | esac | |
318 | ||
319 | 327 | # With -d, create the new directory with the user-specified mode. |
320 | 328 | # Otherwise, rely on $mkdir_umask. |
321 | 329 | if test -n "$dir_arg"; then |
325 | 333 | fi |
326 | 334 | |
327 | 335 | posix_mkdir=false |
328 | case $umask in | |
329 | *[123567][0-7][0-7]) | |
330 | # POSIX mkdir -p sets u+wx bits regardless of umask, which | |
331 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. | |
332 | ;; | |
333 | *) | |
334 | # Note that $RANDOM variable is not portable (e.g. dash); Use it | |
335 | # here however when possible just to lower collision chance. | |
336 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ | |
337 | ||
338 | trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 | |
339 | ||
340 | # Because "mkdir -p" follows existing symlinks and we likely work | |
341 | # directly in world-writeable /tmp, make sure that the '$tmpdir' | |
342 | # directory is successfully created first before we actually test | |
343 | # 'mkdir -p' feature. | |
344 | if (umask $mkdir_umask && | |
345 | $mkdirprog $mkdir_mode "$tmpdir" && | |
346 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 | |
347 | then | |
348 | if test -z "$dir_arg" || { | |
349 | # Check for POSIX incompatibilities with -m. | |
350 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or | |
351 | # other-writable bit of parent directory when it shouldn't. | |
352 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. | |
353 | test_tmpdir="$tmpdir/a" | |
354 | ls_ld_tmpdir=`ls -ld "$test_tmpdir"` | |
355 | case $ls_ld_tmpdir in | |
356 | d????-?r-*) different_mode=700;; | |
357 | d????-?--*) different_mode=755;; | |
358 | *) false;; | |
359 | esac && | |
360 | $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { | |
361 | ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` | |
362 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" | |
363 | } | |
364 | } | |
365 | then posix_mkdir=: | |
366 | fi | |
367 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" | |
368 | else | |
369 | # Remove any dirs left behind by ancient mkdir implementations. | |
370 | rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null | |
371 | fi | |
372 | trap '' 0;; | |
373 | esac;; | |
336 | # The $RANDOM variable is not portable (e.g., dash). Use it | |
337 | # here however when possible just to lower collision chance. | |
338 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ | |
339 | ||
340 | trap ' | |
341 | ret=$? | |
342 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null | |
343 | exit $ret | |
344 | ' 0 | |
345 | ||
346 | # Because "mkdir -p" follows existing symlinks and we likely work | |
347 | # directly in world-writeable /tmp, make sure that the '$tmpdir' | |
348 | # directory is successfully created first before we actually test | |
349 | # 'mkdir -p'. | |
350 | if (umask $mkdir_umask && | |
351 | $mkdirprog $mkdir_mode "$tmpdir" && | |
352 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 | |
353 | then | |
354 | if test -z "$dir_arg" || { | |
355 | # Check for POSIX incompatibilities with -m. | |
356 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or | |
357 | # other-writable bit of parent directory when it shouldn't. | |
358 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. | |
359 | test_tmpdir="$tmpdir/a" | |
360 | ls_ld_tmpdir=`ls -ld "$test_tmpdir"` | |
361 | case $ls_ld_tmpdir in | |
362 | d????-?r-*) different_mode=700;; | |
363 | d????-?--*) different_mode=755;; | |
364 | *) false;; | |
365 | esac && | |
366 | $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { | |
367 | ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` | |
368 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" | |
369 | } | |
370 | } | |
371 | then posix_mkdir=: | |
372 | fi | |
373 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" | |
374 | else | |
375 | # Remove any dirs left behind by ancient mkdir implementations. | |
376 | rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null | |
377 | fi | |
378 | trap '' 0;; | |
374 | 379 | esac |
375 | 380 | |
376 | 381 | if |
381 | 386 | then : |
382 | 387 | else |
383 | 388 | |
384 | # The umask is ridiculous, or mkdir does not conform to POSIX, | |
389 | # mkdir does not conform to POSIX, | |
385 | 390 | # or it failed possibly due to a race condition. Create the |
386 | 391 | # directory the slow way, step by step, checking for races as we go. |
387 | 392 | |
410 | 415 | prefixes= |
411 | 416 | else |
412 | 417 | if $posix_mkdir; then |
413 | (umask=$mkdir_umask && | |
418 | (umask $mkdir_umask && | |
414 | 419 | $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break |
415 | 420 | # Don't fail if two instances are running concurrently. |
416 | 421 | test -d "$prefix" || exit 1 |
450 | 455 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
451 | 456 | |
452 | 457 | # Copy the file name to the temp name. |
453 | (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && | |
458 | (umask $cp_umask && | |
459 | { test -z "$stripcmd" || { | |
460 | # Create $dsttmp read-write so that cp doesn't create it read-only, | |
461 | # which would cause strip to fail. | |
462 | if test -z "$doit"; then | |
463 | : >"$dsttmp" # No need to fork-exec 'touch'. | |
464 | else | |
465 | $doit touch "$dsttmp" | |
466 | fi | |
467 | } | |
468 | } && | |
469 | $doit_exec $cpprog "$src" "$dsttmp") && | |
454 | 470 | |
455 | 471 | # and set any options; do chmod last to preserve setuid bits. |
456 | 472 | # |
476 | 492 | then |
477 | 493 | rm -f "$dsttmp" |
478 | 494 | else |
495 | # If $backupsuffix is set, and the file being installed | |
496 | # already exists, attempt a backup. Don't worry if it fails, | |
497 | # e.g., if mv doesn't support -f. | |
498 | if test -n "$backupsuffix" && test -f "$dst"; then | |
499 | $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null | |
500 | fi | |
501 | ||
479 | 502 | # Rename the file to the real destination. |
480 | 503 | $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || |
481 | 504 | |
490 | 513 | # file should still install successfully. |
491 | 514 | { |
492 | 515 | test ! -f "$dst" || |
493 | $doit $rmcmd -f "$dst" 2>/dev/null || | |
516 | $doit $rmcmd "$dst" 2>/dev/null || | |
494 | 517 | { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && |
495 | { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } | |
518 | { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } | |
496 | 519 | } || |
497 | 520 | { echo "$0: cannot unlink or rename $dst" >&2 |
498 | 521 | (exit 1); exit 1 |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
237 | 237 | unique=`for i in $$list; do \ |
238 | 238 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
239 | 239 | done | $(am__uniquify_input)` |
240 | ETAGS = etags | |
241 | CTAGS = ctags | |
242 | 240 | DIST_SUBDIRS = $(SUBDIRS) |
243 | 241 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp |
244 | 242 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
284 | 282 | CFLAGS = @CFLAGS@ |
285 | 283 | CPP = @CPP@ |
286 | 284 | CPPFLAGS = @CPPFLAGS@ |
285 | CSCOPE = @CSCOPE@ | |
286 | CTAGS = @CTAGS@ | |
287 | 287 | CXX = @CXX@ |
288 | 288 | CXXCPP = @CXXCPP@ |
289 | 289 | CXXDEPMODE = @CXXDEPMODE@ |
300 | 300 | ECHO_N = @ECHO_N@ |
301 | 301 | ECHO_T = @ECHO_T@ |
302 | 302 | EGREP = @EGREP@ |
303 | ETAGS = @ETAGS@ | |
303 | 304 | EXEEXT = @EXEEXT@ |
304 | 305 | FGREP = @FGREP@ |
305 | 306 | GELEMENTAL_CFLAGS = @GELEMENTAL_CFLAGS@ |
705 | 706 | |
706 | 707 | distclean-tags: |
707 | 708 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
708 | ||
709 | 709 | distdir: $(BUILT_SOURCES) |
710 | 710 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
711 | 711 |
100 | 100 | return CAST (&get_table ().front ()->get_property_base (*this), |
101 | 101 | const color_value_base); |
102 | 102 | } |
103 | catch (std::invalid_argument) | |
103 | catch (const std::invalid_argument &) | |
104 | 104 | { return false; } |
105 | 105 | } |
106 | 106 | |
127 | 127 | |
128 | 128 | |
129 | 129 | double |
130 | Property<Float>::get_scale_position (const Float& instance, bool logarithmic) | |
131 | const throw (std::domain_error, std::invalid_argument) | |
130 | Property<Float>::get_scale_position (const Float& instance, bool logarithmic) const | |
132 | 131 | { |
133 | 132 | if (!is_scale_valid ()) throw std::domain_error ("invalid scale"); |
134 | 133 | if (!instance.has_value ()) throw std::invalid_argument ("undefined value"); |
142 | 141 | |
143 | 142 | |
144 | 143 | double |
145 | Property<Float>::get_minimum () const throw (std::domain_error) | |
144 | Property<Float>::get_minimum () const | |
146 | 145 | { |
147 | 146 | if (!have_values) throw std::domain_error ("invalid scale"); |
148 | 147 | return minimum; |
150 | 149 | |
151 | 150 | |
152 | 151 | double |
153 | Property<Float>::get_medium (bool logarithmic) const throw (std::domain_error) | |
152 | Property<Float>::get_medium (bool logarithmic) const | |
154 | 153 | { |
155 | 154 | if (!is_scale_valid ()) throw std::domain_error ("invalid scale"); |
156 | 155 | |
163 | 162 | |
164 | 163 | |
165 | 164 | double |
166 | Property<Float>::get_maximum () const throw (std::domain_error) | |
165 | Property<Float>::get_maximum () const | |
167 | 166 | { |
168 | 167 | if (!have_values) throw std::domain_error ("invalid scale"); |
169 | 168 | return maximum; |
244 | 243 | |
245 | 244 | const value_base& |
246 | 245 | Element::get_property_base (const PropertyBase& property) const |
247 | throw (std::invalid_argument) | |
248 | 246 | { |
249 | 247 | #define retb(PROP, value) if (prop == &P_##PROP) return value; |
250 | 248 | #define ret(PROP, member) retb (PROP, data.member) |
132 | 132 | * instead of linear scale. |
133 | 133 | * \throw std::domain_error if the property does not have a valid scale. |
134 | 134 | * \throw std::invalid_argument if instance is not a defined value. */ |
135 | double get_scale_position (const Float& instance, bool logarithmic = false) | |
136 | const throw (std::domain_error, std::invalid_argument); | |
135 | double get_scale_position (const Float& instance, bool logarithmic = false) const; | |
137 | 136 | |
138 | 137 | //! Returns the least value of this property for any element. |
139 | 138 | //! \throw std::domain_error if the property does not have a valid scale. |
140 | double get_minimum () const throw (std::domain_error); | |
139 | double get_minimum () const; | |
141 | 140 | |
142 | 141 | //! Returns the value of this property that has a scale position of 0.5. |
143 | 142 | /*! \param logarithmic Whether to compute the value on a logarithmic scale. |
144 | 143 | * \throw std::domain_error if the property does not have a valid scale. */ |
145 | double get_medium (bool logarithmic = false) const | |
146 | throw (std::domain_error); | |
144 | double get_medium (bool logarithmic = false) const; | |
147 | 145 | |
148 | 146 | //! Returns the greatest value of this property for any element. |
149 | 147 | //! \throw std::domain_error if the property does not have a valid scale. |
150 | double get_maximum () const throw (std::domain_error); | |
148 | double get_maximum () const; | |
151 | 149 | |
152 | 150 | virtual bool is_colorable () const throw (); |
153 | 151 | |
204 | 202 | |
205 | 203 | //! Returns the value_base of the value for the given Property. |
206 | 204 | //! \param property The Element Property to be returned. |
207 | const value_base& get_property_base (const PropertyBase& property) const | |
208 | throw (std::invalid_argument); | |
205 | const value_base& get_property_base (const PropertyBase& property) const; | |
209 | 206 | |
210 | 207 | //! Returns the value for the given Property. |
211 | 208 | //! \param property The Element Property to be returned. |
212 | template<class T> inline const T& get_property (const Property<T>& property) | |
213 | const throw (std::invalid_argument); | |
209 | template<class T> inline const T& get_property (const Property<T>& property) const; | |
214 | 210 | |
215 | 211 | //! Generates entries for all properties. |
216 | 212 | //! \param view An EntriesView to be populated. |
51 | 51 | template<class T> |
52 | 52 | inline const T& |
53 | 53 | Element::get_property (const Property<T>& property) const |
54 | throw (std::invalid_argument) | |
55 | 54 | { |
56 | 55 | return *reinterpret_cast<const T*> (&get_property_base (property)); |
57 | 56 | } |
60 | 59 | template<> |
61 | 60 | inline const std::string& |
62 | 61 | Element::get_property (const Property<std::string>& property) const |
63 | throw (std::invalid_argument) | |
64 | 62 | { |
65 | 63 | if (&property == &P_SYMBOL) return symbol; |
66 | 64 | throw std::invalid_argument ("not a value property"); |
70 | 68 | template<> |
71 | 69 | inline const unsigned int& |
72 | 70 | Element::get_property (const Property<unsigned int>& property) const |
73 | throw (std::invalid_argument) | |
74 | 71 | { |
75 | 72 | if (&property == &P_NUMBER) return number; |
76 | 73 | throw std::invalid_argument ("not a value property"); |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
191 | 191 | unique=`for i in $$list; do \ |
192 | 192 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
193 | 193 | done | $(am__uniquify_input)` |
194 | ETAGS = etags | |
195 | CTAGS = ctags | |
196 | 194 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \ |
197 | 195 | COPYING.LIB ChangeLog README |
198 | 196 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
213 | 211 | CFLAGS = @CFLAGS@ |
214 | 212 | CPP = @CPP@ |
215 | 213 | CPPFLAGS = @CPPFLAGS@ |
214 | CSCOPE = @CSCOPE@ | |
215 | CTAGS = @CTAGS@ | |
216 | 216 | CXX = @CXX@ |
217 | 217 | CXXCPP = @CXXCPP@ |
218 | 218 | CXXDEPMODE = @CXXDEPMODE@ |
229 | 229 | ECHO_N = @ECHO_N@ |
230 | 230 | ECHO_T = @ECHO_T@ |
231 | 231 | EGREP = @EGREP@ |
232 | ETAGS = @ETAGS@ | |
232 | 233 | EXEEXT = @EXEEXT@ |
233 | 234 | FGREP = @FGREP@ |
234 | 235 | GELEMENTAL_CFLAGS = @GELEMENTAL_CFLAGS@ |
524 | 525 | |
525 | 526 | distclean-tags: |
526 | 527 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
527 | ||
528 | 528 | distdir: $(BUILT_SOURCES) |
529 | 529 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
530 | 530 |
29 | 29 | |
30 | 30 | |
31 | 31 | Throttle::Throttle (Mode mode_, double threshold_, bool immediate) |
32 | throw (std::invalid_argument) | |
33 | 32 | : mode (OPEN), threshold (0.0), running (false) |
34 | 33 | { |
35 | 34 | set (mode_, threshold_, immediate); |
57 | 56 | |
58 | 57 | |
59 | 58 | void |
60 | Throttle::set (Mode mode_, bool immediate) throw (std::invalid_argument) | |
59 | Throttle::set (Mode mode_, bool immediate) | |
61 | 60 | { |
62 | 61 | do_set (mode_, immediate); |
63 | 62 | update (); |
66 | 65 | |
67 | 66 | void |
68 | 67 | Throttle::set (Mode mode_, double threshold_, bool immediate) |
69 | throw (std::invalid_argument) | |
70 | 68 | { |
71 | 69 | do_set (mode_, immediate); |
72 | 70 | set_threshold (threshold_); |
89 | 87 | |
90 | 88 | |
91 | 89 | void |
92 | Throttle::set_threshold (double threshold_) throw (std::invalid_argument) | |
90 | Throttle::set_threshold (double threshold_) | |
93 | 91 | { |
94 | 92 | if (threshold_ < 0.0) |
95 | 93 | throw std::invalid_argument ("negative threshold"); |
123 | 121 | |
124 | 122 | |
125 | 123 | void |
126 | Throttle::do_set (Mode mode_, bool immediate) throw (std::invalid_argument) | |
124 | Throttle::do_set (Mode mode_, bool immediate) | |
127 | 125 | { |
128 | 126 | switch (mode_) |
129 | 127 | { |
80 | 80 | * \param immediate Whether to start the timer immediately in some modes. |
81 | 81 | * \throw std::invalid_argument if the mode or threshold is invalid. */ |
82 | 82 | explicit Throttle (Mode mode = OPEN, double threshold = 0.0, |
83 | bool immediate = false) throw (std::invalid_argument); | |
83 | bool immediate = false); | |
84 | 84 | |
85 | 85 | //! Destroys the throttle. |
86 | 86 | /*! Any actions remaining in the queue are destroyed without being called. |
106 | 106 | * timer immediately (\c true) or to start it when the next action is queued |
107 | 107 | * (\c false). |
108 | 108 | * \throw std::invalid_argument if the mode is not a valid Mode. */ |
109 | void set (Mode mode, bool immediate = false) throw (std::invalid_argument); | |
109 | void set (Mode mode, bool immediate = false); | |
110 | 110 | |
111 | 111 | //! Sets the throttle mode and timer threshold atomically. |
112 | 112 | /*! For details, see set(Mode, bool) and set_threshold(). |
114 | 114 | * \param threshold The new timer threshold in seconds. |
115 | 115 | * \param immediate Whether to start the timer immediately in some modes. |
116 | 116 | * \throw std::invalid_argument if the mode or threshold is invalid. */ |
117 | void set (Mode mode, double threshold, bool immediate = false) | |
118 | throw (std::invalid_argument); | |
117 | void set (Mode mode, double threshold, bool immediate = false); | |
119 | 118 | |
120 | 119 | //! Restores the throttle to the initial state for the current mode. |
121 | 120 | /*! For details, see set(). |
133 | 132 | * \p OPEN and \p CLOSED modes. |
134 | 133 | * \param threshold The new timer threshold in seconds. |
135 | 134 | * \throw std::invalid_argument if the threshold is negative. */ |
136 | void set_threshold (double threshold) throw (std::invalid_argument); | |
135 | void set_threshold (double threshold); | |
137 | 136 | |
138 | 137 | //! Adds a new functor to the action queue. |
139 | 138 | /*! If the current state allows, this action or queued actions may be called |
156 | 155 | |
157 | 156 | private: |
158 | 157 | |
159 | void do_set (Mode mode, bool immediate) throw (std::invalid_argument); | |
158 | void do_set (Mode mode, bool immediate); | |
160 | 159 | |
161 | 160 | void start () throw (); |
162 | 161 | void stop () throw (); |
65 | 65 | |
66 | 66 | |
67 | 67 | const Element& |
68 | get_element (AtomicNumber number) throw (std::out_of_range) | |
68 | get_element (AtomicNumber number) | |
69 | 69 | { |
70 | 70 | initialize (); |
71 | 71 | return *table.at (number - 1); |
73 | 73 | |
74 | 74 | |
75 | 75 | const Element& |
76 | get_element (const std::string& which) throw (std::invalid_argument) | |
76 | get_element (const std::string& which) | |
77 | 77 | { |
78 | 78 | initialize (); |
79 | 79 |
50 | 50 | /*! \param number The atomic number of an element. |
51 | 51 | * \return A reference to the corresponding element. |
52 | 52 | * \throw std::out_of_range if the atomic number is invalid. */ |
53 | const Element& get_element (AtomicNumber number) throw (std::out_of_range); | |
53 | const Element& get_element (AtomicNumber number); | |
54 | 54 | |
55 | 55 | //! Returns the element with a given symbol or atomic number. |
56 | 56 | /*! \param which The standard symbol of an element, or the string representation |
57 | 57 | * of the atomic number of an element. |
58 | 58 | * \return A reference to the corresponding element. |
59 | 59 | * \throw std::invalid_argument if the symbol or number is invalid. */ |
60 | const Element& get_element (const std::string& which) | |
61 | throw (std::invalid_argument); | |
60 | const Element& get_element (const std::string& which); | |
62 | 61 | |
63 | 62 | } // namespace Elemental |
64 | 63 |
30 | 30 | |
31 | 31 | PROGRAM=libtool |
32 | 32 | PACKAGE=libtool |
33 | VERSION="2.4.6 Debian-2.4.6-10" | |
33 | VERSION="2.4.6 Debian-2.4.6-15" | |
34 | 34 | package_revision=2.4.6 |
35 | 35 | |
36 | 36 | |
386 | 386 | # putting '$debug_cmd' at the start of all your functions, you can get |
387 | 387 | # bash to show function call trace with: |
388 | 388 | # |
389 | # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name | |
389 | # debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name | |
390 | 390 | debug_cmd=${debug_cmd-":"} |
391 | 391 | exit_cmd=: |
392 | 392 | |
2140 | 2140 | compiler: $LTCC |
2141 | 2141 | compiler flags: $LTCFLAGS |
2142 | 2142 | linker: $LD (gnu? $with_gnu_ld) |
2143 | version: $progname $scriptversion Debian-2.4.6-10 | |
2143 | version: $progname $scriptversion Debian-2.4.6-15 | |
2144 | 2144 | automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` |
2145 | 2145 | autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` |
2146 | 2146 | |
7367 | 7367 | # -stdlib=* select c++ std lib with clang |
7368 | 7368 | # -fsanitize=* Clang/GCC memory and address sanitizer |
7369 | 7369 | # -fuse-ld=* Linker select flags for GCC |
7370 | # -static-* direct GCC to link specific libraries statically | |
7371 | # -fcilkplus Cilk Plus language extension features for C/C++ | |
7370 | 7372 | -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ |
7371 | 7373 | -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ |
7372 | 7374 | -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ |
7373 | -specs=*|-fsanitize=*|-fuse-ld=*) | |
7375 | -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus) | |
7374 | 7376 | func_quote_for_eval "$arg" |
7375 | 7377 | arg=$func_quote_for_eval_result |
7376 | 7378 | func_append compile_command " $arg" |
2 | 2 | |
3 | 3 | scriptversion=2018-03-07.03; # UTC |
4 | 4 | |
5 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. | |
6 | 6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | 7 | |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.4 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
191 | 191 | unique=`for i in $$list; do \ |
192 | 192 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
193 | 193 | done | $(am__uniquify_input)` |
194 | ETAGS = etags | |
195 | CTAGS = ctags | |
196 | 194 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp |
197 | 195 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
198 | 196 | ACLOCAL = @ACLOCAL@ |
212 | 210 | CFLAGS = @CFLAGS@ |
213 | 211 | CPP = @CPP@ |
214 | 212 | CPPFLAGS = @CPPFLAGS@ |
213 | CSCOPE = @CSCOPE@ | |
214 | CTAGS = @CTAGS@ | |
215 | 215 | CXX = @CXX@ |
216 | 216 | CXXCPP = @CXXCPP@ |
217 | 217 | CXXDEPMODE = @CXXDEPMODE@ |
228 | 228 | ECHO_N = @ECHO_N@ |
229 | 229 | ECHO_T = @ECHO_T@ |
230 | 230 | EGREP = @EGREP@ |
231 | ETAGS = @ETAGS@ | |
231 | 232 | EXEEXT = @EXEEXT@ |
232 | 233 | FGREP = @FGREP@ |
233 | 234 | GELEMENTAL_CFLAGS = @GELEMENTAL_CFLAGS@ |
565 | 566 | |
566 | 567 | distclean-tags: |
567 | 568 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
568 | ||
569 | 569 | distdir: $(BUILT_SOURCES) |
570 | 570 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
571 | 571 |
102 | 102 | { |
103 | 103 | static const char *OFFENDING_THEMES[] = |
104 | 104 | { |
105 | "Adwaita", | |
106 | "Adwaita-dark", | |
105 | 107 | "Amaranth", |
106 | 108 | "Lush", |
107 | 109 | "Nuvola", |
108 | 110 | "New Wave", |
111 | "Mint-X", | |
112 | "Mint-X-Aqua", | |
113 | "Mint-X-Blue", | |
114 | "Mint-X-Brown", | |
115 | "Mint-X-Grey", | |
116 | "Mint-X-Orange", | |
117 | "Mint-X-Pink", | |
118 | "Mint-X-Purple", | |
119 | "Mint-X-Red", | |
120 | "Mint-X-Sand", | |
121 | "Mint-X-Teal", | |
122 | "Mint-Y", | |
123 | "Mint-Y-Aqua", | |
124 | "Mint-Y-Blue", | |
125 | "Mint-Y-Brown", | |
126 | "Mint-Y-Dark", | |
127 | "Mint-Y-Red", | |
128 | "Mint-Y-Dark-Red", | |
129 | "Mint-Y-Dark-Aqua", | |
130 | "Mint-Y-Dark-Blue", | |
131 | "Mint-Y-Dark-Brown", | |
132 | "Mint-Y-Darker-Aqua", | |
133 | "Mint-Y-Darker-Blue", | |
134 | "Mint-Y-Darker-Brown", | |
135 | "Mint-Y-Darker-Grey", | |
136 | "Mint-Y-Darker-Orange", | |
137 | "Mint-Y-Darker-Pink", | |
138 | "Mint-Y-Darker-Purple", | |
139 | "Mint-Y-Darker-Red", | |
140 | "Mint-Y-Darker-Sand", | |
141 | "Mint-Y-Darker-Teal", | |
142 | "Mint-Y-Dark-Grey", | |
143 | "Mint-Y-Dark-Orange", | |
144 | "Mint-Y-Dark-Pink", | |
145 | "Mint-Y-Dark-Purple", | |
146 | "Mint-Y-Dark-Sand", | |
147 | "Mint-Y-Dark-Teal", | |
148 | "Mint-Y-Grey", | |
149 | "Mint-Y-Orange", | |
150 | "Mint-Y-Pink", | |
151 | "Mint-Y-Purple", | |
152 | "Mint-Y-Sand", | |
153 | "Mint-Y-Teal", | |
154 | "WhiteSur", | |
155 | "WhiteSur-light", | |
156 | "WhiteSur-dark", | |
157 | "WhiteSur-light-solid", | |
158 | "WhiteSur-dark-solid", | |
159 | "Yaru", | |
160 | "Yaru-dark", | |
161 | "Yaru-light", | |
162 | "Yaru-MATE-dark", | |
163 | "Yaru-MATE-light", | |
109 | 164 | NULL |
110 | 165 | }; |
111 | 166 |
81 | 81 | { |
82 | 82 | std::locale::global (std::locale (std::setlocale (LC_ALL, NULL))); |
83 | 83 | } |
84 | catch (std::runtime_error) | |
84 | catch (const std::runtime_error &) | |
85 | 85 | { |
86 | 86 | std::locale::global (std::locale::classic ()); |
87 | 87 | } |
359 | 359 | |
360 | 360 | about.set_copyright |
361 | 361 | ( |
362 | "Copyright © 2016-2019 Graham Inggs\n" | |
362 | "Copyright © 2016-2021 Graham Inggs\n" | |
363 | 363 | "Copyright © 2006-2007 Kevin Daughtridge\n" |
364 | 364 | "Copyright © 2003 Jonas Frantz" |
365 | 365 | ); |