autoconf script for packages requiring netcdf

Please unsuscribe

Thanks

Dr. Armando Trasviña

-----Mensaje original-----
De: owner-ncdigest@xxxxxxxxxxxxxxxx [mailto:owner-ncdigest@xxxxxxxxxxxxxxxx]

Enviado el: Monday, November 01, 2004 9:25 PM
Para: ncdigest@xxxxxxxxxxxxxxxx
Asunto: ncdigest V1 #814


ncdigest           Monday, November 1 2004           Volume 01 : Number 814



Today's Topics:
autoconf script for packages requiring netcdf

----------------------------------------------------------------------


- ------=_20041101144357_82370
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hello all,

Attached is an autoconf script for use with netCDF.  This script is for
people who write and distribute their own software packages that will be
made by the users with './configure' AND that require netCDF to be
installed on the user's platform.  (In other words, this script is for
software developers, not end users.)  The script checks in various places
I've found the netCDF library to be lurking in over the years.  This
script is supplied in hopes that it is useful, but it has no warranties,
etc.

Regards,

- --Dave

- ---------------------------------------------------------------
David W. Pierce        / Climate Research Division
Scripps Inst. Oceanog. / (858) 534-8276 (voice)
dpierce@xxxxxxxx       / (858) 534-8561 (fax)
- ---------------------------------------------------------------

- ------=_20041101144357_82370
Content-Type: application/octet-stream; name="netcdf.m4"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="netcdf.m4"

ZG5sCmRubCBBQ19QQVRIX05FVENERigpCmRubApkbmwgRGVmaW5lcyBORVRDREZfSU5DRElSLCBO
RVRDREZfTElCRElSLCBhbmQgTkVUQ0RGX0xJQk5BTUUsIG9yIGV4aXRzIHdpdGggYW4gZXJyb3Ig
bWVzc2FnZS4KZG5sIEkuZS4sIHRoZSBpbnRlbnQgaXMgdG8gaGF2ZSB0aGlzIHVzZWQgd2hlbiB0
aGUgYXBwbGljYXRpb24gUkVRVUlSRVMgdGhlIG5ldGNkZiBsaWJyYXJ5LgpkbmwgTm90ZTogdGhl
IE5FVENERl9MSUJOQU1FIGhhcyB0aGUgbGVhZGluZyAnbGliJyBhbmQgdHJhaWxpbmcgJy5hJyBz
dHJpcHB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IGV4aXQgLTEKZmkKZWNobyAiRm91bmQgbmV0Y2RmLmggaW46ICRORVRDREZf
SU5DRElSIgpkbmwKZG5sCmRubCA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KZG5sIGNoZWNrIGZv
ciBuYW1lIG9mIG5ldGNkZiBsaWJyYXJ5CmRubApORVRDREZfTElCTkFNRT1saWJuZXRjZGYuYQpB
Q19BUkdfV0lUSCggbmV0Y2RmX2xpYm5hbWUsIFstLXdpdGgtbmV0Y2RmX2xpYm5hbWU9Zm5hbWUg
bmFtZSBvZiBuZXRjZGYgbGlicmFyeSBmaWxlIFtsaWJuZXRjZGYuYV1dLCBORVRDREZfTElCTkFN
RT0kd2l0aHZhbCkKZG5sCmRubApkbmwgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09CmRubCBjaGVj
ayBmb3IgbmV0Y2RmIGxpYiBkaXJlY3RvcnkKZG5sCkFDX0FSR19XSVRIKCBuZXRjZGZfbGliZGly
LCBbIC0td2l0aC1uZXRjZGZfbGliZGlyPWRpciBkaXJlY3RvcnkgY29udGFpbmluZyBuZXRDREYg
bGlicmFyeV0sICBORVRDREZfTElCRElSPSR3aXRodmFsKQplcnI9MAppZiB0ZXN0IHgkTkVUQ0RG
X0xJQkRJUiAhPSB4OyB0aGVuCiAgICAgICAgQUNfQ0hFQ0tfRklMRSggJE5FVENERl9MSUJESVIv
JE5FVENERl9MSUJOQU1FLAogICAgICAgICAgZWNobyAiVXNpbmcgdXNlci1zcGVjaWZpZWQgbmV0
Q0RGIGxpYnJhcnkgZGlyPSRORVRDREZfTElCRElSIiwKICAgICAgICAgIGVycj0xICkKZmkKaWYg
dGVzdCAkZXJyIC1lcSAxOyB0aGVuCiAgICAgICAgZWNobyAiRXJyb3I6IHVzZXIgc3BlY2lma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mFtZS4iCgllY2hvICIgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqIgoJZWNobyAiICIKICAgICAgICBleGl0
IC0xCmZpCmVjaG8gIkZvdW5kIG5ldGNkZiBsaWJyYXJ5IGZpbGUgJE5FVENERl9MSUJOQU1FIGlu
IGRpcmVjdG9yeSAkTkVUQ0RGX0xJQkRJUiIKTkVUQ0RGX0xJQk5BTUU9YGVjaG8gJE5FVENERl9M
SUJOQU1FIHwgc2VkIHMvbGliLy8gfCBzZWQgcy9cLmEvL2AKZG5sCmRubCBFeHBvcnQgb3VyIHZh
cmlhYmxlcwpkbmwKQUNfU1VCU1QoTkVUQ0RGX0lOQ0RJUikKQUNfU1VCU1QoTkVUQ0RGX0xJQkRJ
UikKQUNfU1VCU1QoTkVUQ0RGX0xJQk5BTUUpCmRubApdKQo
- ------=_20041101144357_82370--

------------------------------

End of ncdigest V1 #814
***********************



  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: