summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2007-05-18 04:22:46 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-05-18 04:22:46 +0000
commit47e96a0c583df722f4d37ee42afcdc59b215f650 (patch)
treed6ebf54ccfd24d97f1f24bb3e2edebac053f44f5 /configure.in
parent1f9e7cf36b64ecbdf03d9a2df1046a0aeedfabcf (diff)
Don't let PERL_PATH be ''. (#356769, Joseph Sacco)
2007-05-18 Michael Natterer <mitch@imendio.com> * configure.in: Don't let PERL_PATH be ''. (#356769, Joseph Sacco) svn path=/trunk/; revision=5502
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 6 insertions, 13 deletions
diff --git a/configure.in b/configure.in
index 336f52dde..6cd4bdb63 100644
--- a/configure.in
+++ b/configure.in
@@ -350,7 +350,8 @@ AC_SUBST(REBUILD)
#
if test "x$PERL" != x ; then
AC_PATH_PROG(PERL_PATH, [$PERL])
-else
+fi
+if test "x$PERL_PATH" = x ; then
PERL_PATH="/usr/bin/env perl"
fi
AC_SUBST(PERL_PATH)
@@ -2508,26 +2509,18 @@ _______EOF
fi
- if test x$g_have_gnuc_visibility = xyes ; then
cat >>$outfile <<_______EOF
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
#define G_GNUC_INTERNAL
-#else
+#elif defined (__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303)
#define G_HAVE_GNUC_VISIBILITY 1
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
-#endif
-_______EOF
- else
- if test x$g_have_sunstudio_visibility = xyes ; then
- cat >>$outfile <<_______EOF
+#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
#define G_GNUC_INTERNAL __hidden
-_______EOF
- else
- cat >>$outfile <<_______EOF
+#else
#define G_GNUC_INTERNAL
+#endif
_______EOF
- fi
- fi
echo >>$outfile