`make distcheck` builds and then calls both tinc and tincd with two options:
--version
--help
tincd behavior was changed by
28b7a53b6 to print usage information to
stderr, but automake expects to see a non-empty output from stdout, and
fails distcheck if it's empty.
else
if GCRYPT
tincd_SOURCES += \
- gcrypt/cipher.c \
+ gcrypt/cipher.c gcrypt/cipher.h \
gcrypt/crypto.c \
gcrypt/digest.c gcrypt/digest.h \
gcrypt/pem.c gcrypt/pem.h \
gcrypt/prf.c \
- gcrypt/rsa.c
+ gcrypt/rsa.c gcrypt/rsa.h
tinc_SOURCES += \
- gcrypt/cipher.c \
+ gcrypt/cipher.c gcrypt/cipher.h \
gcrypt/crypto.c \
gcrypt/digest.c gcrypt/digest.h \
gcrypt/pem.c gcrypt/pem.h \
gcrypt/prf.c \
- gcrypt/rsa.c \
+ gcrypt/rsa.c gcrypt/rsa.h \
gcrypt/rsagen.c
sptps_test_SOURCES += \
- gcrypt/cipher.c \
+ gcrypt/cipher.c gcrypt/cipher.h \
gcrypt/crypto.c \
gcrypt/digest.c gcrypt/digest.h \
gcrypt/prf.c
#include "../xalloc.h"
#ifdef ENABLE_TUNEMU
-#include "bsd/tunemu.h"
+#include "tunemu.h"
#endif
#ifdef HAVE_NET_IF_UTUN_H
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "system.h"
+#include "../system.h"
#include <openssl/pem.h>
#include <openssl/err.h>
"\n"
"Report bugs to tinc@tinc-vpn.org.\n";
- fprintf(stderr, message, program_name);
+ printf(message, program_name);
}
}