]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - configure
Imported from util-linux-2.12o tarball.
[thirdparty/util-linux.git] / configure
index cb7fa3ee1bd47df6ae538e01ea401ee2d6aebdd4..6d73b219502b81adc77e12a85df89c67bcf77374 100755 (executable)
--- a/configure
+++ b/configure
@@ -12,6 +12,7 @@
 # H4. For nls.h: do we have <locale.h>?
 # H5. For cal.c: do we have <langinfo.h>?
 # H6. For mkswap.c: do we have <sys/user.h> or <asm/page.h>?
+# H6a For mkswap.c: do we have <uuid/uuid.h>?
 # H7. For nfsmount.c: do we have <rpcsvc/nfs_prot.h>?
 # H8. For nfsmount.h (nfsmount_xdr.c: int32_t): do we have <asm/types.h>?
 # H9. For raw.c: do we have <linux/raw.h>?
@@ -163,6 +164,16 @@ else if ./testincl "asm/page.h"; then
         echo "#define HAVE_asm_page_h" >> defines.h
 fi; fi
 
+#
+# H6a. For mkswap.c: do we have <uuid/uuid.h>?
+#
+if ./testincl "uuid/uuid.h"; then
+    echo "#define HAVE_uuid_uuid_h" >> defines.h
+    echo "HAVE_UUID=yes" >> make_include
+else
+    echo "HAVE_UUID=no" >> make_include
+fi
+
 #
 # H7. For nfsmount.c: do we have <rpcsvc/nfs_prot.h>?
 #