]> git.armaanb.net Git - opendoas.git/blobdiff - configure
timestamp: rename and simplify
[opendoas.git] / configure
index 1266444b9f3024d4c048bffe5b75c6163f0d81c3..1f3e2cbc75808c044bfc04c022c42eb7913f49d1 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
        }