mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
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
This commit is contained in:
parent
1f9e7cf36b
commit
47e96a0c58
@ -1,3 +1,7 @@
|
||||
2007-05-18 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* configure.in: Don't let PERL_PATH be ''. (#356769, Joseph Sacco)
|
||||
|
||||
2007-05-17 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* configure.in: hotfix: revert last change to fix the build on OS X.
|
||||
|
21
configure.in
21
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")))
|
||||
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
||||
#define G_GNUC_INTERNAL __hidden
|
||||
#else
|
||||
#define G_GNUC_INTERNAL
|
||||
#endif
|
||||
_______EOF
|
||||
else
|
||||
if test x$g_have_sunstudio_visibility = xyes ; then
|
||||
cat >>$outfile <<_______EOF
|
||||
#define G_GNUC_INTERNAL __hidden
|
||||
_______EOF
|
||||
else
|
||||
cat >>$outfile <<_______EOF
|
||||
#define G_GNUC_INTERNAL
|
||||
_______EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
echo >>$outfile
|
||||
|
Loading…
Reference in New Issue
Block a user