aboutsummaryrefslogtreecommitdiff
path: root/crypto/Makefile.am
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2021-12-26 15:42:47 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2021-12-26 16:00:25 +0900
commitadde656bb7a859fb4cc334cb89a00840a7023c2e (patch)
treef366c790f1e3afc3782b7f5224a823b2c9b8993b /crypto/Makefile.am
parent1b95c5d584c5db4f08160299f5bf66acf654875d (diff)
downloadportable-adde656bb7a859fb4cc334cb89a00840a7023c2e.tar.gz
portable-adde656bb7a859fb4cc334cb89a00840a7023c2e.tar.bz2
portable-adde656bb7a859fb4cc334cb89a00840a7023c2e.zip
Add strtonum to compat library and export it
crypto library requires strtonum now, and add it to compat library. remove it from applications compat/ directories.
Diffstat (limited to 'crypto/Makefile.am')
-rw-r--r--crypto/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index 155df59..42d0dd9 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -76,6 +76,9 @@ endif
76if !HAVE_STRSEP 76if !HAVE_STRSEP
77 -echo strsep >> crypto_portable.sym 77 -echo strsep >> crypto_portable.sym
78endif 78endif
79if !HAVE_STRTONUM
80 -echo strtonum >> crypto_portable.sym
81endif
79if !HAVE_TIMEGM 82if !HAVE_TIMEGM
80 -echo timegm >> crypto_portable.sym 83 -echo timegm >> crypto_portable.sym
81endif 84endif
@@ -175,6 +178,10 @@ if !HAVE_STRSEP
175libcompat_la_SOURCES += compat/strsep.c 178libcompat_la_SOURCES += compat/strsep.c
176endif 179endif
177 180
181if !HAVE_STRTONUM
182libcompat_la_SOURCES += compat/strtonum.c
183endif
184
178if !HAVE_ASPRINTF 185if !HAVE_ASPRINTF
179libcompat_la_SOURCES += compat/bsd-asprintf.c 186libcompat_la_SOURCES += compat/bsd-asprintf.c
180endif 187endif