/[MITgcm]/MITgcm_contrib/mpack_src/mpack-1.6-4/cmulocal/nana.m4
ViewVC logotype

Contents of /MITgcm_contrib/mpack_src/mpack-1.6-4/cmulocal/nana.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Feb 23 20:13:31 2008 UTC (17 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
- get new version from: http://packages.qa.debian.org/m/mpack.html
  (files: mpack_1.6.orig.tar.gz, mpack_1.6-4.diff.gz, mpack_1.6-4.dsc)
  and apply patch 'mpack_1.6-4.diff' to original dir: mpack_1.6/
- this fix the MD5 coding on 64.bit platforms (well, seems to).
- added in Contrib to allow separate test (since building mpack seems fishy)

1 dnl nana.m4--nana macro
2 dnl Rob Earhart
3 dnl $Id: nana.m4,v 1.4 2002/08/15 22:24:02 ken3 Exp $
4
5 AC_DEFUN(CMU_NANA, [
6 AC_REQUIRE([AC_PROG_CC])
7 AC_ARG_WITH(nana, [[ --with-nana use NANA [yes] ]],,with_nana=yes)
8 if test "$GCC" != yes; then
9 with_nana=no
10 elif test "$with_nana" = yes; then
11 AC_CHECK_PROGS(NANA, nana, :)
12 if test "$NANA" = ":"; then
13 with_nana=no
14 else
15 AC_CHECK_HEADER(nana.h,
16 AC_CHECK_LIB(nana, nana_error,,with_nana=no),
17 with_nana=no)
18 fi
19 else
20 with_nana=no
21 fi
22 AC_MSG_CHECKING([whether to use NANA])
23 AC_MSG_RESULT($with_nana)
24 if test "$with_nana" != yes; then
25 AC_DEFINE(WITHOUT_NANA)
26 fi
27 ])

  ViewVC Help
Powered by ViewVC 1.1.22