Re: G_TYPE_INT64



On Wed, Oct 10, 2001 at 05:50:34PM -0400, Owen Taylor wrote:
> > 3) i removed G_HAVE_GINT64 conditionalization per Tim's suggestion.
> 
> configure.in needs a check along the lines of:
> 
>  if [ $ac_cv_sizeof_long == 8 -o $ac_cv_sizeof_long_long == 8 ] ; then
>    :
>  else
>    AC_MSG_ERROR([
> *** GLib require a 64 bit type. You might want to consider
> *** using the GNU C compiler.
> ])
>  fi

Sorry for being clueless about autoconf, but approximately where
does this go in configure.in?  Can i write it like this to avoid
any duplication of type-width test logic?

if test -n "$gint64"; then
  :
else
  AC_MSG_ERROR([
*** GLib require a 64 bit type. You might want to consider
*** using the GNU C compiler.
])
fi

-- 
Victory to the Divine Mother!!
  http://sahajayoga.org




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]