~ubuntu-branches/ubuntu/hardy/autoconf-archive/hardy

« back to all changes in this revision

Viewing changes to m4source/ac_c_long_long.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin A. Godisch
  • Date: 2004-06-26 09:43:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040626094357-3be3jwcz1vcdhpe8
Tags: upstream-20040616
ImportĀ upstreamĀ versionĀ 20040616

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Available from the GNU Autoconf Macro Archive at:
 
2
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_c_long_long.html
 
3
dnl
 
4
AC_DEFUN([AC_C_LONG_LONG],
 
5
[AC_CACHE_CHECK(for long long int, ac_cv_c_long_long,
 
6
[if test "$GCC" = yes; then
 
7
  ac_cv_c_long_long=yes
 
8
  else
 
9
        AC_TRY_COMPILE(,[long long int i;],
 
10
   ac_cv_c_long_long=yes,
 
11
   ac_cv_c_long_long=no)
 
12
   fi])
 
13
   if test $ac_cv_c_long_long = yes; then
 
14
     AC_DEFINE(HAVE_LONG_LONG)
 
15
   fi
 
16
])