Commit Graph

7 Commits

Author SHA1 Message Date
Florian Weimer 6eb33543cb configure: Fix C99 compatibility issue
Avoid calling the undeclared exit function.  This avoids a check
failure with a future compiler that does not support implicit
function declarations.
2023-01-27 10:22:42 +01:00
Andy McFadden ca8605c403 Update autoconf scripts
I re-ran "autoconf", which made minor changes to the nufxlib configure
script, and copied the latest (v2.71) config.sub/config.guess scripts.

(issue #14)
2022-07-20 09:43:57 -07:00
Kelvin Sherlock ae66fba7bc pkg-config support
will generate nufxlib.pc and install to the pkgconfig directory
for use with the oft-used pkg-config utility.
2020-10-14 23:18:02 -04:00
Andy McFadden 132a8338b9 Fix Mac OS X behavior
Some fixes to the Mac OS X build:

- Replace the Carbon calls that were used to set the creator
and file type with xattr calls.  The Carbon stuff still worked
but caused deprecation warnings.  Stop linking against Carbon.

- Correct the way resource forks are accessed (from "/rsrc" to
"/..namedfork/rsrc").  The native resource fork support is
incomplete and doesn't work quite right, so it's now disabled.
(Which means the corrections to the file name don't actually do
anything, but you can at least play with it.)

- Correct the file/aux type conversion, which appeared to do
useful things but actually didn't in some circumstances (e.g. when
adding files, the code for acquiring the file types needs to be in
NuLib2, not NufxLib).

- Set creator and file type to 'pdos' values when extracting from
a Binary ][ archive.

Also, drop some old purify/quantify stuff.
2015-01-03 15:59:37 -08:00
Andy McFadden 20c9ac1195 Use integer types with explicit widths
Replace types like "unsigned char" and "ushort" with <stdint.h>
types like uint8_t.

Remove uchar/ushort/uint/ulong from autoconf.
2014-12-22 14:56:12 -08:00
Andy McFadden 64fa086713 Rebuilt configure script with current version of autoconf. 2014-10-28 10:36:49 -07:00
Andy McFadden ec84cadfee Remove placeholder version number from directory name. 2014-10-28 10:27:31 -07:00