mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-22 23:29:16 +02:00
use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for tests for inline
Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org> * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for tests for inline keywords. Fixes #101976.
This commit is contained in:
parent
54cadf4528
commit
3fa609363c
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
|
||||||
|
tests for inline keywords. Fixes #101976.
|
||||||
|
|
||||||
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.h: Correct the comment telling what headers have
|
* glib/gwin32.h: Correct the comment telling what headers have
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
|
||||||
|
tests for inline keywords. Fixes #101976.
|
||||||
|
|
||||||
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.h: Correct the comment telling what headers have
|
* glib/gwin32.h: Correct the comment telling what headers have
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
|
||||||
|
tests for inline keywords. Fixes #101976.
|
||||||
|
|
||||||
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.h: Correct the comment telling what headers have
|
* glib/gwin32.h: Correct the comment telling what headers have
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
|
||||||
|
tests for inline keywords. Fixes #101976.
|
||||||
|
|
||||||
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.h: Correct the comment telling what headers have
|
* glib/gwin32.h: Correct the comment telling what headers have
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
|
||||||
|
tests for inline keywords. Fixes #101976.
|
||||||
|
|
||||||
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.h: Correct the comment telling what headers have
|
* glib/gwin32.h: Correct the comment telling what headers have
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
|
||||||
|
tests for inline keywords. Fixes #101976.
|
||||||
|
|
||||||
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
2003-01-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/gwin32.h: Correct the comment telling what headers have
|
* glib/gwin32.h: Correct the comment telling what headers have
|
||||||
|
@ -542,7 +542,7 @@ dnl AC_C_INLINE is useless to us since it bails out too early, we need to
|
|||||||
dnl truely know which ones of `inline', `__inline' and `__inline__' are
|
dnl truely know which ones of `inline', `__inline' and `__inline__' are
|
||||||
dnl actually supported.
|
dnl actually supported.
|
||||||
AC_CACHE_CHECK([for __inline],glib_cv_has__inline,[
|
AC_CACHE_CHECK([for __inline],glib_cv_has__inline,[
|
||||||
AC_TRY_COMPILE([
|
AC_COMPILE_IFELSE([
|
||||||
__inline int foo () { return 0; }
|
__inline int foo () { return 0; }
|
||||||
int main () { return foo (); }
|
int main () { return foo (); }
|
||||||
],
|
],
|
||||||
@ -555,7 +555,7 @@ case x$glib_cv_has__inline in
|
|||||||
xyes) AC_DEFINE(G_HAVE___INLINE,1,[Have __inline keyword])
|
xyes) AC_DEFINE(G_HAVE___INLINE,1,[Have __inline keyword])
|
||||||
esac
|
esac
|
||||||
AC_CACHE_CHECK([for __inline__],glib_cv_has__inline__,[
|
AC_CACHE_CHECK([for __inline__],glib_cv_has__inline__,[
|
||||||
AC_TRY_COMPILE([
|
AC_COMPILE_IFELSE([
|
||||||
__inline__ int foo () { return 0; }
|
__inline__ int foo () { return 0; }
|
||||||
int main () { return foo (); }
|
int main () { return foo (); }
|
||||||
],
|
],
|
||||||
@ -568,7 +568,7 @@ case x$glib_cv_has__inline__ in
|
|||||||
xyes) AC_DEFINE(G_HAVE___INLINE__,1,[Have __inline__ keyword])
|
xyes) AC_DEFINE(G_HAVE___INLINE__,1,[Have __inline__ keyword])
|
||||||
esac
|
esac
|
||||||
AC_CACHE_CHECK([for inline], glib_cv_hasinline,[
|
AC_CACHE_CHECK([for inline], glib_cv_hasinline,[
|
||||||
AC_TRY_COMPILE([
|
AC_COMPILE_IFELSE([
|
||||||
#undef inline
|
#undef inline
|
||||||
inline int foo () { return 0; }
|
inline int foo () { return 0; }
|
||||||
int main () { return foo (); }
|
int main () { return foo (); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user