Here's a patch I'm working on that implements NSUUID using libuuid.

I'm having trouble figuring out what to put in the autoconf.ac. Does anyone 
know of a template I should look at? I'm sure what I'm doing now isn't correct… 
:

+      HAVE_UUID=1
+      UUID_CFLAGS=`pkg-config --cflags uuid`
+      UUID_LIBS=`pkg-config --libs uuid`
+ 
+      CPPFLAGS="$CPPFLAGS $UUID_CFLAGS"
+      INCLUDE_FLAGS="$INCLUDE_FLAGS $UUID_CFLAGS"
+      LIBS="$UUID_LIBS $LIBS"
+      LDFLAGS="$LDFLAGS $UUID_LIBS"
+      LDIR_FLAGS="$LDIR_FLAGS $UUID_LIBS"

I'll also need to add a regular AC_CHECK_LIBS check if pkg-config isn't present.

Eric


Attachment: NSUUID.diff
Description: Binary data

_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to