diff options
| author | Roy Marples <roy@marples.name> | 2017-03-19 20:21:18 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-03-19 20:21:18 +0000 |
| commit | 61b00fd13c20637caa9998f8e37655d40495b9fd (patch) | |
| tree | a17eb911f513f06e2b5469b01b2bda36dc013b5d /configure | |
| parent | 353acd9d554b4020e6eb44644b05d660f8381343 (diff) | |
| download | dhcpcd-61b00fd13c20637caa9998f8e37655d40495b9fd.tar.xz | |
Move md5 and sha256 out to compat.
Stop using .. to find config.h.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1202,7 +1202,8 @@ EOF rm -f _md5.c _md5 fi if [ "$MD5" = no ]; then - echo "MD5_SRC= crypt/md5.c" >>$CONFIG_MK + echo "#include \"compat/crypt/md5.h\"" >>$CONFIG_H + echo "MD5_SRC= compat/crypt/md5.c" >>$CONFIG_MK else echo "MD5_SRC=" >>$CONFIG_MK echo "#define HAVE_MD5_H" >>$CONFIG_H @@ -1292,7 +1293,8 @@ EOF fi fi if [ "$SHA2" = no ]; then - echo "SHA256_SRC= crypt/sha256.c" >>$CONFIG_MK + echo "#include \"compat/crypt/sha256.h\"" >>$CONFIG_H + echo "SHA256_SRC= compat/crypt/sha256.c" >>$CONFIG_MK else echo "SHA256_SRC=" >>$CONFIG_MK echo "#define SHA2_H <$SHA2_H>" >>$CONFIG_H |
