From: <hba...@us...> - 2007-08-14 00:26:51
|
Revision: 7791 http://plplot.svn.sourceforge.net/plplot/?rev=7791&view=rev Author: hbabcock Date: 2007-08-13 17:26:51 -0700 (Mon, 13 Aug 2007) Log Message: ----------- Adding a tag for the 5.7.4 release. Added Paths: ----------- tags/v5_7_4/ tags/v5_7_4/cmake/modules/plplot_version.cmake tags/v5_7_4/configure.ac Removed Paths: ------------- tags/v5_7_4/cmake/modules/plplot_version.cmake tags/v5_7_4/configure.ac Copied: tags/v5_7_4 (from rev 7789, trunk) Deleted: tags/v5_7_4/cmake/modules/plplot_version.cmake =================================================================== --- trunk/cmake/modules/plplot_version.cmake 2007-08-13 09:52:17 UTC (rev 7789) +++ tags/v5_7_4/cmake/modules/plplot_version.cmake 2007-08-14 00:26:51 UTC (rev 7791) @@ -1,70 +0,0 @@ -# For now, must set this by hand before each release. This value affects -# at least the documentation build and perhaps other parts of the release. -set(RELEASE_DATE "2007-03-25") - -# Version data that need review and possible modification for each release. - -set(VERSION 5.7.3) - -# CPack version numbers for release tarball name. -set(CPACK_PACKAGE_VERSION_MAJOR 5) -set(CPACK_PACKAGE_VERSION_MINOR 7) -set(CPACK_PACKAGE_VERSION_PATCH 3) - -# PLplot library version information. - -# Rules: -# (1) If a backwards incompatible API change has been made in the library -# API (e.g., if old compiled and linked applications will no longer work) -# then increment SOVERSION and zero the corresponding minor and patch -# numbers just before release. -# (2) If the library changes are limited to additions to the API, then -# then leave SOVERSION alone, increment the minor number and zero the -# patch number just before release. -# (3) If the library changes are limited to implementation changes with -# no API changes at all, then leave SOVERSION and minor number alone, and -# increment the patch number just before the release. -# (4) If there are no library source code changes at all, then leave all -# library version numbers the same for the release. - -set(csirocsa_SOVERSION 0) -set(csirocsa_VERSION ${csirocsa_SOVERSION}.0.1) - -set(csironn_SOVERSION 0) -set(csironn_VERSION ${csironn_SOVERSION}.0.1) - -set(plplot_SOVERSION 9) -set(plplot_VERSION ${plplot_SOVERSION}.3.0) - -set(plplotcxx_SOVERSION 9) -set(plplotcxx_VERSION ${plplotcxx_SOVERSION}.2.1) - -set(plplotf77_SOVERSION 9) -set(plplotf77_VERSION ${plplotf77_SOVERSION}.1.1) - -set(plplotf95_SOVERSION 9) -set(plplotf95_VERSION ${plplotf95_SOVERSION}.1.1) - -set(plplotgnome2_SOVERSION 0) -set(plplotgnome2_VERSION ${plplotgnome2_SOVERSION}.0.0) - -set(tclmatrix_SOVERSION 9) -set(tclmatrix_VERSION ${tclmatrix_SOVERSION}.2.0) - -set(plplottcltk_SOVERSION 9) -set(plplottcltk_VERSION ${plplottcltk_SOVERSION}.2.0) - -set(plplotwxwidgets_SOVERSION 0) -set(plplotwxwidgets_VERSION ${plplotwxwidgets_SOVERSION}.0.0) - -set(plplotada_SOVERSION 0) -set(plplotada_VERSION ${plplotada_SOVERSION}.0.0) - -# According to man package, PLPLOT_TCL_VERSION (used in the various -# pkgIndex.tcl scripts) should be strictly numbers alternativing with -# decimal points with the first number (the major number) signifying -# incompatible changes in the scripts. To keep our life simple, let us -# use the major number from the package version for now. - -set(PLPLOT_TCL_VERSION 5) - Copied: tags/v5_7_4/cmake/modules/plplot_version.cmake (from rev 7790, trunk/cmake/modules/plplot_version.cmake) =================================================================== --- tags/v5_7_4/cmake/modules/plplot_version.cmake (rev 0) +++ tags/v5_7_4/cmake/modules/plplot_version.cmake 2007-08-14 00:26:51 UTC (rev 7791) @@ -0,0 +1,70 @@ +# For now, must set this by hand before each release. This value affects +# at least the documentation build and perhaps other parts of the release. +set(RELEASE_DATE "2007-08-13") + +# Version data that need review and possible modification for each release. + +set(VERSION 5.7.4) + +# CPack version numbers for release tarball name. +set(CPACK_PACKAGE_VERSION_MAJOR 5) +set(CPACK_PACKAGE_VERSION_MINOR 7) +set(CPACK_PACKAGE_VERSION_PATCH 4) + +# PLplot library version information. + +# Rules: +# (1) If a backwards incompatible API change has been made in the library +# API (e.g., if old compiled and linked applications will no longer work) +# then increment SOVERSION and zero the corresponding minor and patch +# numbers just before release. +# (2) If the library changes are limited to additions to the API, then +# then leave SOVERSION alone, increment the minor number and zero the +# patch number just before release. +# (3) If the library changes are limited to implementation changes with +# no API changes at all, then leave SOVERSION and minor number alone, and +# increment the patch number just before the release. +# (4) If there are no library source code changes at all, then leave all +# library version numbers the same for the release. + +set(csirocsa_SOVERSION 0) +set(csirocsa_VERSION ${csirocsa_SOVERSION}.0.1) + +set(csironn_SOVERSION 0) +set(csironn_VERSION ${csironn_SOVERSION}.0.1) + +set(plplot_SOVERSION 9) +set(plplot_VERSION ${plplot_SOVERSION}.3.0) + +set(plplotcxx_SOVERSION 9) +set(plplotcxx_VERSION ${plplotcxx_SOVERSION}.2.1) + +set(plplotf77_SOVERSION 9) +set(plplotf77_VERSION ${plplotf77_SOVERSION}.1.1) + +set(plplotf95_SOVERSION 9) +set(plplotf95_VERSION ${plplotf95_SOVERSION}.1.1) + +set(plplotgnome2_SOVERSION 0) +set(plplotgnome2_VERSION ${plplotgnome2_SOVERSION}.0.0) + +set(tclmatrix_SOVERSION 9) +set(tclmatrix_VERSION ${tclmatrix_SOVERSION}.2.0) + +set(plplottcltk_SOVERSION 9) +set(plplottcltk_VERSION ${plplottcltk_SOVERSION}.2.0) + +set(plplotwxwidgets_SOVERSION 0) +set(plplotwxwidgets_VERSION ${plplotwxwidgets_SOVERSION}.0.0) + +set(plplotada_SOVERSION 0) +set(plplotada_VERSION ${plplotada_SOVERSION}.0.0) + +# According to man package, PLPLOT_TCL_VERSION (used in the various +# pkgIndex.tcl scripts) should be strictly numbers alternativing with +# decimal points with the first number (the major number) signifying +# incompatible changes in the scripts. To keep our life simple, let us +# use the major number from the package version for now. + +set(PLPLOT_TCL_VERSION 5) + Deleted: tags/v5_7_4/configure.ac =================================================================== --- trunk/configure.ac 2007-08-13 09:52:17 UTC (rev 7789) +++ tags/v5_7_4/configure.ac 2007-08-14 00:26:51 UTC (rev 7791) @@ -1,317 +0,0 @@ -dnl configure.ac for PLplot -*- autoconf -*- -dnl -dnl Process this file with autoconf to produce a configure script. -dnl -dnl Copyright (C) 1994, 2004 Maurice LeBrun -dnl Copyright (C) 2002, 2003, 2004 Rafael Laboissiere -dnl Copyright (C) 2002, 2003, 2004 Alan W. Irwin -dnl Copyright (C) 2003, 2004 Joao Cardoso -dnl Copyright (C) 2004 Andrew Roach -dnl Copyright (C) 2005 Thomas J. Duck -dnl Copyright (C) 2006 Andrew Ross -dnl -dnl This file is part of PLplot. -dnl -dnl PLplot is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU Library General Public License as published -dnl by the Free Software Foundation; version 2 of the License. -dnl -dnl PLplot is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -dnl GNU Library General Public License for more details. -dnl -dnl You should have received a copy of the GNU Library General Public License -dnl along with the file PLplot; if not, write to the Free Software -dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -dnl Note: to recover legacy behavior as regards (site-specific) defaults -dnl files, configure using: -dnl -dnl $ CONFIG_SITE=~/config/cf_plplot.in ./configure - - -dnl ======================================================================= -dnl Autoconf/automake initializations -dnl ======================================================================= - -dnl Package version number -dnl [ If changing the line below by hand, please keep the format up to and -dnl including the version number, otherwise it will fool up the -dnl bootstrap.sh script. By the way, the line below can be changed using -dnl options --version and --date-version of that script. ] - -AC_INIT(plplot, 5.7.3, plp...@li...) -AC_PREREQ(2.50) -AC_REVISION($Revision$) - -dnl Date of release. This can be set by hand, but the prefered method -dnl is by specifying one of the option --version of --date-version to -dnl bootstrap.sh - -RELEASE_DATE=2007-03-25 -AC_SUBST(RELEASE_DATE) - -dnl Check if we are in the right directory (this used to be done by -dnl AC_INIT) - -AC_CONFIG_SRCDIR(src/plcore.c) - -dnl Use cf dir instead of the top dir for all autotools-related files - -AC_CONFIG_AUX_DIR(cf) -AC_CONFIG_MACRO_DIR(cf) - -dnl Configuration headers - -AC_CONFIG_HEADERS([config.h include/plConfig.h include/plDevs.h]) - -dnl Automake initialization - -AM_INIT_AUTOMAKE(1.8.2) - -dnl Default installation prefix - -AC_PREFIX_DEFAULT(/usr/local) -test "$prefix" = NONE && prefix=$ac_default_prefix -test "$exec_prefix" = NONE && exec_prefix=$prefix - - -dnl ======================================================================= -dnl PLplot library sonames and soversions -dnl ======================================================================= - -dnl Version numbers for the shared C libraries. - -SOVERSION=11:1:0 -AC_SUBST(SOVERSION) - -dnl Version number for the shared C++ library. After version 5.2.1 was -dnl released, the C++ bindings were changed and backward incompatibilities -dnl were introduced. Hence the different strings for SOVERSION and -dnl CPP_SOVERSION. - -CPP_SOVERSION=11:0:2 -AC_SUBST(CPP_SOVERSION) - -dnl Version number for the shared F77 library. Starting with release 5.3.1 -dnl of PLplot, the Fortran shared library will have a separate SOVERSION -dnl than that of the C PLplot library. This is necessary because there is a -dnl specialized Fortran API. - -F77_SOVERSION=10:0:1 -AC_SUBST(F77_SOVERSION) - -dnl Version number for the shared F95 library. - -F95_SOVERSION=0:0:0 -AC_SUBST(F95_SOVERSION) - -dnl Version number for the CSIRO libraries distributed in lib/csa and -dnl lib/nn. This information was buried into lib/{csa,nn}/Makefile.am and it -dnl is made explicit below. It may happen that, in the future, we will need -dnl separate soversions for libcsirocsa and libcsironn, but let us keep an -dnl unique soversion for now. - -CSIRO_SOVERSION=0:1:0 -AC_SUBST(CSIRO_SOVERSION) - -dnl Version number for the libplplotgnome* library distributed in drivers/. - -PLPLOTGNOME_SOVERSION=0:0:0 -AC_SUBST(PLPLOTGNOME_SOVERSION) - -dnl According to man package, PLPLOT_TCL_VERSION (used in the various -dnl pkgIndex.tcl scripts) should be strictly numbers alternativing with -dnl decimal points with the first number (the major number) signifying -dnl incompatible changes in the scripts. To keep our life simple, let us -dnl use the major number from the package version for now. -dnl N.B. both LIBRARY_VERSION and PLPLOT_TCL_VERSION are used for separate -dnl purposes in the various configured pkgIndex.tcl scripts. - -PLPLOT_TCL_VERSION=5 -AC_SUBST(PLPLOT_TCL_VERSION) - - -dnl ======================================================================= -dnl Check for programs -dnl ======================================================================= - -dnl Require C compile - -AC_PROG_CC -AM_PROG_CC_C_O -AM_CONDITIONAL(cc_is_gcc, [test "$GCC" = yes]) - -dnl ======================================================================= -dnl Compilation and build options (PLFLT, rpath, install locations) -dnl Note, must come before cf/java.ac since that depends on, e.g., LIB_DIR. -dnl ======================================================================= - -m4_include(cf/double.ac) -m4_include(cf/rpath.ac) -m4_include(cf/instdirs.ac) - - -dnl ======================================================================= -dnl Language bindings -dnl ======================================================================= - -m4_include(cf/c++.ac) -m4_include(cf/f77.ac) -m4_include(cf/f95.ac) - -dnl ======================================================================= -dnl Libtool configuration -dnl Must come after compiler definition stuff that occurs in -dnl cf/c++.ac, cf/f77.ac, and cf/f95.ac. -dnl ======================================================================= - -m4_include(cf/libtool.ac) - -dnl ======================================================================= -dnl Language bindings, continued. -dnl ======================================================================= - -m4_include(cf/python.ac) -m4_include(cf/java.ac) -m4_include(cf/swig.ac) -m4_include(cf/octave.ac) -m4_include(cf/tcl.ac) -m4_include(cf/pdl.ac) - -dnl ======================================================================= -dnl Libraries -dnl ======================================================================= - -dnl Add libm to LIBS, as some non linux unices might require this. - -AC_CHECK_LIB(m, sin) - -m4_include(cf/pthread.ac) -m4_include(cf/freetype.ac) -m4_include(cf/unicode.ac) -m4_include(cf/csiro.ac) - - -dnl ======================================================================= -dnl Headers -dnl ======================================================================= - -AC_HEADER_STDC -AC_CHECK_HEADERS(unistd.h termios.h) -AC_HEADER_SYS_WAIT -AC_HEADER_DIRENT - -dnl Check for inclusion of sys/types.h before dirent.h in broken MacOSX -dnl systems - -case "$host_os" in - darwin*) - AC_DEFINE(NEED_SYS_TYPE_H, [], [Include sys/type.h if needed]) - ;; -esac - - -dnl ======================================================================= -dnl Typedefs -dnl ======================================================================= - -dnl In the past, some X11 headers required "caddr_t" even on systems that -dnl claimed POSIX.1 compliance, which was illegal. This made it impossible -dnl to compile programs that included X11 headers if _POSIX_SOURCE was -dnl defined. We used to work around this potential problem by just defining -dnl caddr_t to 'char *' on all systems (unless it is set already), whether -dnl it was needed or not. Now we ignore the issue because we don't expect -dnl such broken X behaviour any more and because this kind of argument list -dnl for AC_CHECK_TYPE is now deprecated in the autoconf documentation. - -dnl AC_CHECK_TYPE(caddr_t, char *) - -dnl The following is primarily for use in drivers/get-drv-info.c - -AC_TYPE_SIGNAL - - -dnl ======================================================================= -dnl Functions -dnl ======================================================================= - -AC_FUNC_VFORK -AC_CHECK_FUNC(popen, AC_DEFINE(HAVE_POPEN, [], - [Define if popen is available])) -AC_CHECK_FUNC(usleep, AC_DEFINE(HAVE_USLEEP, [], - [Define if usleep is available])) -AC_CHECK_FUNC(isinf, AC_DEFINE(HAVE_ISINF, [], - [Define if isinf is available])) -AC_CHECK_FUNC(finite, AC_DEFINE(HAVE_FINITE, [], - [Define if finite is available])) -AC_CHECK_FUNC(isnan, - [AC_DEFINE(HAVE_ISNAN, [], [Define if isnan is available]) - have_isnan=yes], - [have_isnan=no]) - -dnl ======================================================================= -dnl pkg-config support -dnl ======================================================================= - -m4_include(cf/pkg-config.ac) - - -dnl ======================================================================= -dnl Device drivers -dnl ======================================================================= - -m4_include(cf/drivers-init.ac) -m4_include(cf/cgm.ac) -m4_include(cf/gcw.ac) -m4_include(cf/gd.ac) -m4_include(cf/gnome.ac) -m4_include(cf/linuxvga.ac) -m4_include(cf/xwin.ac) -m4_include(cf/tk.ac) -dnl m4_include(cf/ps.ac) -m4_include(cf/psttf.ac) -m4_include(cf/wingcc.ac) -m4_include(cf/aqt.ac) -m4_include(cf/wxwidgets.ac) -m4_include(cf/drivers-finish.ac) - - -dnl ======================================================================= -dnl Other parts of PLplot (test suite, DocBook manual, pkg-config support) -dnl ======================================================================= - -m4_include(cf/test.ac) -m4_include(cf/docbook.ac) - - -dnl ======================================================================= -dnl Build configuration files and show summary -dnl ======================================================================= - -dnl Notice that there are other calls to AC_CONFIG_FILES in the cf/*.ac -dnl files. - -AC_CONFIG_FILES([ - Makefile - fonts/Makefile - src/Makefile - include/Makefile - data/Makefile - bindings/Makefile - cf/Makefile - drivers/Makefile - examples/Makefile - examples/c/Makefile - examples/c/Makefile.examples - examples/perl/Makefile - utils/Makefile - scripts/Makefile - doc/Makefile - scripts/plplot-config -]) - -AC_OUTPUT - -m4_include(cf/summary.ac) Copied: tags/v5_7_4/configure.ac (from rev 7790, trunk/configure.ac) =================================================================== --- tags/v5_7_4/configure.ac (rev 0) +++ tags/v5_7_4/configure.ac 2007-08-14 00:26:51 UTC (rev 7791) @@ -0,0 +1,317 @@ +dnl configure.ac for PLplot -*- autoconf -*- +dnl +dnl Process this file with autoconf to produce a configure script. +dnl +dnl Copyright (C) 1994, 2004 Maurice LeBrun +dnl Copyright (C) 2002, 2003, 2004 Rafael Laboissiere +dnl Copyright (C) 2002, 2003, 2004 Alan W. Irwin +dnl Copyright (C) 2003, 2004 Joao Cardoso +dnl Copyright (C) 2004 Andrew Roach +dnl Copyright (C) 2005 Thomas J. Duck +dnl Copyright (C) 2006 Andrew Ross +dnl +dnl This file is part of PLplot. +dnl +dnl PLplot is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU Library General Public License as published +dnl by the Free Software Foundation; version 2 of the License. +dnl +dnl PLplot is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU Library General Public License for more details. +dnl +dnl You should have received a copy of the GNU Library General Public License +dnl along with the file PLplot; if not, write to the Free Software +dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +dnl Note: to recover legacy behavior as regards (site-specific) defaults +dnl files, configure using: +dnl +dnl $ CONFIG_SITE=~/config/cf_plplot.in ./configure + + +dnl ======================================================================= +dnl Autoconf/automake initializations +dnl ======================================================================= + +dnl Package version number +dnl [ If changing the line below by hand, please keep the format up to and +dnl including the version number, otherwise it will fool up the +dnl bootstrap.sh script. By the way, the line below can be changed using +dnl options --version and --date-version of that script. ] + +AC_INIT(plplot, 5.7.4, plp...@li...) +AC_PREREQ(2.50) +AC_REVISION($Revision$) + +dnl Date of release. This can be set by hand, but the prefered method +dnl is by specifying one of the option --version of --date-version to +dnl bootstrap.sh + +RELEASE_DATE=2007-08-13 +AC_SUBST(RELEASE_DATE) + +dnl Check if we are in the right directory (this used to be done by +dnl AC_INIT) + +AC_CONFIG_SRCDIR(src/plcore.c) + +dnl Use cf dir instead of the top dir for all autotools-related files + +AC_CONFIG_AUX_DIR(cf) +AC_CONFIG_MACRO_DIR(cf) + +dnl Configuration headers + +AC_CONFIG_HEADERS([config.h include/plConfig.h include/plDevs.h]) + +dnl Automake initialization + +AM_INIT_AUTOMAKE(1.8.2) + +dnl Default installation prefix + +AC_PREFIX_DEFAULT(/usr/local) +test "$prefix" = NONE && prefix=$ac_default_prefix +test "$exec_prefix" = NONE && exec_prefix=$prefix + + +dnl ======================================================================= +dnl PLplot library sonames and soversions +dnl ======================================================================= + +dnl Version numbers for the shared C libraries. + +SOVERSION=11:1:0 +AC_SUBST(SOVERSION) + +dnl Version number for the shared C++ library. After version 5.2.1 was +dnl released, the C++ bindings were changed and backward incompatibilities +dnl were introduced. Hence the different strings for SOVERSION and +dnl CPP_SOVERSION. + +CPP_SOVERSION=11:0:2 +AC_SUBST(CPP_SOVERSION) + +dnl Version number for the shared F77 library. Starting with release 5.3.1 +dnl of PLplot, the Fortran shared library will have a separate SOVERSION +dnl than that of the C PLplot library. This is necessary because there is a +dnl specialized Fortran API. + +F77_SOVERSION=10:0:1 +AC_SUBST(F77_SOVERSION) + +dnl Version number for the shared F95 library. + +F95_SOVERSION=0:0:0 +AC_SUBST(F95_SOVERSION) + +dnl Version number for the CSIRO libraries distributed in lib/csa and +dnl lib/nn. This information was buried into lib/{csa,nn}/Makefile.am and it +dnl is made explicit below. It may happen that, in the future, we will need +dnl separate soversions for libcsirocsa and libcsironn, but let us keep an +dnl unique soversion for now. + +CSIRO_SOVERSION=0:1:0 +AC_SUBST(CSIRO_SOVERSION) + +dnl Version number for the libplplotgnome* library distributed in drivers/. + +PLPLOTGNOME_SOVERSION=0:0:0 +AC_SUBST(PLPLOTGNOME_SOVERSION) + +dnl According to man package, PLPLOT_TCL_VERSION (used in the various +dnl pkgIndex.tcl scripts) should be strictly numbers alternativing with +dnl decimal points with the first number (the major number) signifying +dnl incompatible changes in the scripts. To keep our life simple, let us +dnl use the major number from the package version for now. +dnl N.B. both LIBRARY_VERSION and PLPLOT_TCL_VERSION are used for separate +dnl purposes in the various configured pkgIndex.tcl scripts. + +PLPLOT_TCL_VERSION=5 +AC_SUBST(PLPLOT_TCL_VERSION) + + +dnl ======================================================================= +dnl Check for programs +dnl ======================================================================= + +dnl Require C compile + +AC_PROG_CC +AM_PROG_CC_C_O +AM_CONDITIONAL(cc_is_gcc, [test "$GCC" = yes]) + +dnl ======================================================================= +dnl Compilation and build options (PLFLT, rpath, install locations) +dnl Note, must come before cf/java.ac since that depends on, e.g., LIB_DIR. +dnl ======================================================================= + +m4_include(cf/double.ac) +m4_include(cf/rpath.ac) +m4_include(cf/instdirs.ac) + + +dnl ======================================================================= +dnl Language bindings +dnl ======================================================================= + +m4_include(cf/c++.ac) +m4_include(cf/f77.ac) +m4_include(cf/f95.ac) + +dnl ======================================================================= +dnl Libtool configuration +dnl Must come after compiler definition stuff that occurs in +dnl cf/c++.ac, cf/f77.ac, and cf/f95.ac. +dnl ======================================================================= + +m4_include(cf/libtool.ac) + +dnl ======================================================================= +dnl Language bindings, continued. +dnl ======================================================================= + +m4_include(cf/python.ac) +m4_include(cf/java.ac) +m4_include(cf/swig.ac) +m4_include(cf/octave.ac) +m4_include(cf/tcl.ac) +m4_include(cf/pdl.ac) + +dnl ======================================================================= +dnl Libraries +dnl ======================================================================= + +dnl Add libm to LIBS, as some non linux unices might require this. + +AC_CHECK_LIB(m, sin) + +m4_include(cf/pthread.ac) +m4_include(cf/freetype.ac) +m4_include(cf/unicode.ac) +m4_include(cf/csiro.ac) + + +dnl ======================================================================= +dnl Headers +dnl ======================================================================= + +AC_HEADER_STDC +AC_CHECK_HEADERS(unistd.h termios.h) +AC_HEADER_SYS_WAIT +AC_HEADER_DIRENT + +dnl Check for inclusion of sys/types.h before dirent.h in broken MacOSX +dnl systems + +case "$host_os" in + darwin*) + AC_DEFINE(NEED_SYS_TYPE_H, [], [Include sys/type.h if needed]) + ;; +esac + + +dnl ======================================================================= +dnl Typedefs +dnl ======================================================================= + +dnl In the past, some X11 headers required "caddr_t" even on systems that +dnl claimed POSIX.1 compliance, which was illegal. This made it impossible +dnl to compile programs that included X11 headers if _POSIX_SOURCE was +dnl defined. We used to work around this potential problem by just defining +dnl caddr_t to 'char *' on all systems (unless it is set already), whether +dnl it was needed or not. Now we ignore the issue because we don't expect +dnl such broken X behaviour any more and because this kind of argument list +dnl for AC_CHECK_TYPE is now deprecated in the autoconf documentation. + +dnl AC_CHECK_TYPE(caddr_t, char *) + +dnl The following is primarily for use in drivers/get-drv-info.c + +AC_TYPE_SIGNAL + + +dnl ======================================================================= +dnl Functions +dnl ======================================================================= + +AC_FUNC_VFORK +AC_CHECK_FUNC(popen, AC_DEFINE(HAVE_POPEN, [], + [Define if popen is available])) +AC_CHECK_FUNC(usleep, AC_DEFINE(HAVE_USLEEP, [], + [Define if usleep is available])) +AC_CHECK_FUNC(isinf, AC_DEFINE(HAVE_ISINF, [], + [Define if isinf is available])) +AC_CHECK_FUNC(finite, AC_DEFINE(HAVE_FINITE, [], + [Define if finite is available])) +AC_CHECK_FUNC(isnan, + [AC_DEFINE(HAVE_ISNAN, [], [Define if isnan is available]) + have_isnan=yes], + [have_isnan=no]) + +dnl ======================================================================= +dnl pkg-config support +dnl ======================================================================= + +m4_include(cf/pkg-config.ac) + + +dnl ======================================================================= +dnl Device drivers +dnl ======================================================================= + +m4_include(cf/drivers-init.ac) +m4_include(cf/cgm.ac) +m4_include(cf/gcw.ac) +m4_include(cf/gd.ac) +m4_include(cf/gnome.ac) +m4_include(cf/linuxvga.ac) +m4_include(cf/xwin.ac) +m4_include(cf/tk.ac) +dnl m4_include(cf/ps.ac) +m4_include(cf/psttf.ac) +m4_include(cf/wingcc.ac) +m4_include(cf/aqt.ac) +m4_include(cf/wxwidgets.ac) +m4_include(cf/drivers-finish.ac) + + +dnl ======================================================================= +dnl Other parts of PLplot (test suite, DocBook manual, pkg-config support) +dnl ======================================================================= + +m4_include(cf/test.ac) +m4_include(cf/docbook.ac) + + +dnl ======================================================================= +dnl Build configuration files and show summary +dnl ======================================================================= + +dnl Notice that there are other calls to AC_CONFIG_FILES in the cf/*.ac +dnl files. + +AC_CONFIG_FILES([ + Makefile + fonts/Makefile + src/Makefile + include/Makefile + data/Makefile + bindings/Makefile + cf/Makefile + drivers/Makefile + examples/Makefile + examples/c/Makefile + examples/c/Makefile.examples + examples/perl/Makefile + utils/Makefile + scripts/Makefile + doc/Makefile + scripts/plplot-config +]) + +AC_OUTPUT + +m4_include(cf/summary.ac) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |