aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1998-11-05 06:28:11 +0800
committerRaja R Harinath <harinath@src.gnome.org>1998-11-05 06:28:11 +0800
commit1d86a2f84f032db125926e871ae6ffaab319cbf4 (patch)
tree0d321a8fd8583634d0f33097d53b6a6a646d373d /macros/gnome-support.m4
parentccdc954dd0aacebd2e36c811e44c65cb43cff7d6 (diff)
downloadgsoc2013-evolution-1d86a2f84f032db125926e871ae6ffaab319cbf4.tar.gz
gsoc2013-evolution-1d86a2f84f032db125926e871ae6ffaab319cbf4.tar.zst
gsoc2013-evolution-1d86a2f84f032db125926e871ae6ffaab319cbf4.zip
Set this unconditionally to `yes'. We'll soon be losing this variable.
* gnome-support.m4 (need_gnome_support): Set this unconditionally to `yes'. We'll soon be losing this variable. svn path=/trunk/; revision=462
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m417
1 files changed, 7 insertions, 10 deletions
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index e760fdc711..8728bb174a 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -1,14 +1,15 @@
dnl GNOME_SUPPORT_CHECKS
dnl Check for various support functions needed by the standard
-dnl Gnome libraries. Sets LIBOBJS, might define some macros,
-dnl and will set the need_gnome_support shell variable to "yes"
-dnl or "no". Also sets up the Automake BUILD_GNOME_SUPPORT
-dnl conditional. This should only be used when building the Gnome
-dnl libs; Gnome clients should not need this macro.
+dnl Gnome libraries. Sets LIBOBJS, might define some macros.
+dnl This should only be used when building the Gnome libs;
+dnl Gnome clients should not need this macro.
AC_DEFUN([GNOME_SUPPORT_CHECKS],[
# we need an `awk' to build `gnomesupport.h'
AC_REQUIRE([AC_PROG_AWK])
- need_gnome_support=no
+
+ # this should go away soon
+ need_gnome_support=yes
+
save_LIBOBJS="$LIBOBJS"
LIBOBJS=
@@ -65,7 +66,6 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
AC_REPLACE_FUNCS(memmove mkstemp scandir strcasecmp strerror strndup strnlen)
AC_REPLACE_FUNCS(strtok_r strtod strtol strtoul vasprintf)
- #AC_CHECK_FUNCS(canonicalize_file_name,,LIBOBJS="$LIBOBJS canonicalize.o")
AC_CHECK_FUNCS(realpath,,LIBOBJS="$LIBOBJS canonicalize.o")
# to include `error.c' error.c has some HAVE_* checks
@@ -80,9 +80,6 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h)
GCC_NEED_DECLARATIONS(gethostname setreuid setregid getpagesize)
- if test "$LIBOBJS$gcc_need_declarations" != ""; then
- need_gnome_support=yes
- fi
# Turn our LIBOBJS into libtool objects. This is gross, but it
# requires changes to autoconf before it goes away.
LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/.lo/g'`