diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-07-29 22:01:31 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-07-29 22:01:31 +0000 |
commit | f07551a43d80850a44c683cf620f2061f0bd14b2 (patch) | |
tree | ebdb05477d82ad2b429b6754be96164ea154a999 /acinclude.m4 | |
parent | 37eb76e767d4c960b0e295647192c7fa9ce274d5 (diff) | |
download | libgtop-f07551a43d80850a44c683cf620f2061f0bd14b2.tar.gz |
New file.
1998-07-29 Martin Baulig <martin@home-of-linux.org>
* guile/ChangeLog: New file.
* features.def: New format - now includes type of return value
and parameters.
* lib/lib.awk: Changed to use new `features.def'.
* sysdeps/guile/guile.awk: Dito;
* sysdeps/guile/names/guile-names.awk: Dito.
* libgtopConf.sh.in: Added
`LIBGTOP_NAMES_LIBS', `LIBGTOP_NAMES_INCS',
`LIBGTOP_GUILE_NAMES_LIBS', `LIBGTOP_GUILE_NAMES_INCS',
`LIBGTOP_MAJOR_VERSION', `LIBGTOP_MINOR_VERSION'
`LIBGTOP_VERSION', `libgtop_sysdeps_dir'.
* acinclude.m4 (AC_LC_SYSDEPS): Removed since this has been
replaced with `GNOME_LIBGTOP_SYSDEPS' long ago.
* LIBGTOP-VERSION: New file.
* */Makefile.am (INCLUDES): Removed; now defined in `configure.in'.
* sysdeps/names/mountlist.c: New file.
* lib/{init, open}.c (GTOP_SERVER): Renamed to `LIBGTOP_SERVER'.
* configure.in (INCLUDES): Added definition.
(libgtop_want_names): Always true; `libgtop_names.la' is now
always created since some other programs rely upon it - but
have to use `LIBGTOP_NAMES_LIBS' and `LIBGTOP_NAMES_INCS' to
use it in your application.
(libgtop_want_guile_names): Always true; but you have to use
`LIBGTOP_GUILE_NAMES_LIBS' and `LIBGTOP_GUILE_NAMES_INCS' to
use it in your application.
(LIBGTOP_LIBS): Removed `-lgtop_names' and `-lgtop_guile_names'.
(LIBGTOP_NAMES_LIBS): New variable. Use it to link your
application with the names interface.
(LIBGTOP_NAMES_INCS): New variable. Also #defines `GLIBTOP_NAMES'
which is now required if your application wants to use the names
interface.
(LIBGTOP_GUILE_NAMES_LIBS): New variable. Use it to link your
application with the guile names interface.
(LIBGTOP_GUILE_NAMES_INCS): New variable. Also #defines
`GLIBTOP_NAMES' and `GLIBTOP_GUILE_NAMES' which are now required
if your application wants to use the guile names interface.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index ba416daa..70252e0e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -10,97 +10,6 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. -AC_DEFUN([AC_LC_CANONICAL_HOST],[ - AC_REQUIRE([AC_CANONICAL_HOST]) - # The way shlib-versions is used to generate soversions.mk uses a - # fairly simplistic model for name recognition that can't distinguish - # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os - # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can - # tell. This doesn't get used much beyond that, so it's fairly safe. - case "$host_os" in - linux*) - ;; - gnu*) - host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'` - ;; - esac -]) - - -AC_DEFUN([AC_LC_SYSDEPS],[ - AC_REQUIRE([AC_LC_CANONICAL_HOST]) - AC_REQUIRE([GNOME_LIBGTOP_SYSDEPS]) - - AC_MSG_CHECKING(whether we need the gtop_server) - - AC_ARG_ENABLE(libgtop-server, - [ --enable-libgtop-server use gtop_server [default=auto]], - [if test "x$enableval" = "xyes" ; then - libgtop_need_server=yes - elif test "x$enableval" = "xno" ; then - libgtop_need_server=no - fi]) - - AC_MSG_RESULT($libgtop_need_server) - - AC_MSG_CHECKING(whether building of libgtop names is requested) - - AC_ARG_ENABLE(libgtop-names, - [ --enable-libgtop-names enable building of 'names' subdirs [default=yes]], - [if test "x$enableval" = "xyes" ; then - libgtop_want_names=yes - else - libgtop_want_names=$enableval - fi],[libgtop_want_names=yes]) - - AC_MSG_RESULT($libgtop_want_names) - - if test x$libgtop_want_names = xyes ; then - AC_DEFINE(GLIBTOP_NAMES) - fi - - AM_CONDITIONAL(GLIBTOP_NAMES, test x$libgtop_want_names = xyes) - - AC_MSG_CHECKING(whether building of the guile interface is requested) - - AC_ARG_ENABLE(libgtop-guile, - [ --enable-libgtop-guile enable building of the guile interface [default=yes]], - [if test "x$enableval" = "xyes" ; then - libgtop_want_guile=yes - else - libgtop_want_guile=$enableval - fi],[libgtop_want_guile=yes]) - - AC_MSG_RESULT($libgtop_want_guile) - - AC_MSG_CHECKING(whether building of the examples is requested) - - AC_ARG_ENABLE(libgtop-examples, - [ --disable-libgtop-examples disable building of the examples], - [if test "x$enableval" = "xyes" ; then - libgtop_want_examples=yes - else - libgtop_want_examples=$enableval - fi],[libgtop_want_examples=yes]) - - AC_MSG_RESULT($libgtop_want_examples) - - if test x$libgtop_want_examples = xyes ; then - AC_DEFINE(GLIBTOP_EXAMPLES) - fi - - AM_CONDITIONAL(GLIBTOP_EXAMPLES, test x$libgtop_want_examples = xyes) - - if test x$libgtop_use_machine_h = xyes ; then - machine_incs="-I\$(top_srcdir)/sysdeps/$sysdeps_dir" - fi - - AC_SUBST(machine_incs) - AC_SUBST(libgtop_want_names) - AC_SUBST(libgtop_want_guile) - AC_SUBST(libgtop_want_examples) -]) - ###################################################################### # progtest.m4 from gettext 0.32 ###################################################################### |