aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-libgtop-sysdeps.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-05-22 08:15:14 +0800
committerMartin Baulig <martin@src.gnome.org>1998-05-22 08:15:14 +0800
commitd39a6ea089cf108d5f09ab7c49073394538198f4 (patch)
treec14ccaf2c6afcbcffc082dc1236a32294e11a8e0 /macros/gnome-libgtop-sysdeps.m4
parent6d06c786fe2fb0ceed34f12ba783860ef322bce8 (diff)
downloadgsoc2013-evolution-d39a6ea089cf108d5f09ab7c49073394538198f4.tar.gz
gsoc2013-evolution-d39a6ea089cf108d5f09ab7c49073394538198f4.tar.zst
gsoc2013-evolution-d39a6ea089cf108d5f09ab7c49073394538198f4.zip
Removed unwanted AC_WITH(sysdeps).
svn path=/trunk/; revision=223
Diffstat (limited to 'macros/gnome-libgtop-sysdeps.m4')
-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 8b4a429ff6..a86a726e9c 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)