summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-05-22 00:15:14 +0000
committerMartin Baulig <martin@src.gnome.org>1998-05-22 00:15:14 +0000
commitba0fae561fee4f302983ad374df3289fe91ae5d1 (patch)
treed99a77862fb50102dc09e11cadb04b02ad2a30e7
parentec7b4b3837cbffd051752cc4ad82c6e99c7a4796 (diff)
downloadgnome-common-ba0fae561fee4f302983ad374df3289fe91ae5d1.tar.gz
Removed unwanted AC_WITH(sysdeps).
svn path=/trunk/; revision=220
-rw-r--r--macros/gnome-libgtop-sysdeps.m454
1 files changed, 19 insertions, 35 deletions
diff --git a/macros/gnome-libgtop-sysdeps.m4 b/macros/gnome-libgtop-sysdeps.m4
index 8b4a429..a86a726 100644
--- a/macros/gnome-libgtop-sysdeps.m4
+++ b/macros/gnome-libgtop-sysdeps.m4
@@ -19,44 +19,28 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
AC_MSG_CHECKING(for libgtop sysdeps directory)
- AC_ARG_WITH(sysdeps,
- [ --with-sysdeps=dir which sysdeps directory should be used [default=auto]],
- [if test "x$withval" = "xyes" ; then
- ac_cv_sysdeps_dir=yes
- elif test "x$withval" = "xauto" ; then
- ac_cv_sysdeps_dir=yes
- else
- ac_cv_sysdeps_dir=$withval
- fi],[ac_cv_sysdeps_dir=yes])
-
- if test "x$ac_cv_sysdeps_dir" = "xyes" ; then
- case "$host_os" in
- linux*)
- libgtop_sysdeps_dir=linux
- libgtop_use_machine_h=no
- libgtop_need_server=no
- ;;
- sunos4*)
- libgtop_sysdeps_dir=sun4
- libgtop_use_machine_h=no
- libgtop_need_server=yes
- ;;
- osf*)
- libgtop_sysdeps_dir=osf1
- libgtop_use_machine_h=yes
- libgtop_need_server=yes
- ;;
- *)
- libgtop_sysdeps_dir=stub
- libgtop_use_machine_h=no
- libgtop_need_server=no
- ;;
- esac
- else
+ case "$host_os" in
+ linux*)
+ libgtop_sysdeps_dir=linux
+ libgtop_use_machine_h=no
+ libgtop_need_server=no
+ ;;
+ sunos4*)
+ libgtop_sysdeps_dir=sun4
+ libgtop_use_machine_h=no
+ libgtop_need_server=yes
+ ;;
+ osf*)
+ libgtop_sysdeps_dir=osf1
+ libgtop_use_machine_h=yes
+ libgtop_need_server=yes
+ ;;
+ *)
libgtop_sysdeps_dir=stub
libgtop_use_machine_h=no
libgtop_need_server=no
- fi
+ ;;
+ esac
AC_MSG_RESULT($libgtop_sysdeps_dir)