diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/config.h | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 07b4cfa..aab865c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,3 @@ bin_PROGRAMS=naskpass -naskpass_SOURCES=main.c opt.c status.c ui_ani.c ui.c ui_elements.c ui_input.c ui_ipc.c ui_nwindow.c ui_statusbar.c +naskpass_SOURCES=main.c opt.c status.c ui_ani.c ui.c ui_elements.c ui_input.c ui_ipc.c ui_txtwindow.c ui_statusbar.c diff --git a/src/config.h b/src/config.h index 9d72ef3..797376f 100644 --- a/src/config.h +++ b/src/config.h @@ -12,8 +12,10 @@ #define MSQ_PWD "/naskpass-passwd" #define MSQ_INF "/naskpass-info" -#ifdef _VERSION -#define VERSION _VERSION -#else +#ifdef HAVE_CONFIG_H +#include "version.h" +#endif + +#ifndef VERSION #define VERSION "unknown" #endif |