]> git.armaanb.net Git - opendoas.git/blobdiff - configure
timestamp: error out if fstat and lstat st_ino and st_dev are not the same
[opendoas.git] / configure
index 1266444b9f3024d4c048bffe5b75c6163f0d81c3..4dfd287ade349527c511d53434813253b501cbb9 100755 (executable)
--- a/configure
+++ b/configure
@@ -27,7 +27,7 @@ usage: configure [options]
   --without-pam          disable pam support
   --without-shadow       disable shadow support
 
-  --without-timestamp    disable timestamp support
+  --with-timestamp       enable timestamp support
 
   --help, -h             display this help and exit
 EOF
@@ -185,8 +185,8 @@ int main(void) {
 
 persistmethod() {
        [ -z "$WITHOUT_TIMESTAMP" ] && {
-               printf 'CFLAGS  += -DPERSIST_TIMESTAMP\n' >>$CONFIG_MK
-               printf 'SRCS    += persist_timestamp.c\n' >>$CONFIG_MK
+               printf 'CPPFLAGS += -DUSE_TIMESTAMP\n' >>$CONFIG_MK
+               printf 'SRCS    += timestamp.c\n' >>$CONFIG_MK
                printf 'timestamp\n'
                return 0
        }