comparison configure.ac @ 1473:67bcd5fa40c6

generate list of libtomcrypt directories automatically
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 23:33:41 +0800
parents 51043e868f55
children 9b87cbe931e3
comparison
equal deleted inserted replaced
1472:cc94e83f01e2 1473:67bcd5fa40c6
796 fi 796 fi
797 fi 797 fi
798 798
799 AC_EXEEXT 799 AC_EXEEXT
800 800
801 # XXX there must be a nicer way to do this
802 if test $BUNDLED_LIBTOM = 1 ; then 801 if test $BUNDLED_LIBTOM = 1 ; then
803 AS_MKDIR_P(libtomcrypt/src/ciphers/aes) 802 (cd $srcdir; find libtomcrypt -type d) | xargs mkdir -pv
804 AS_MKDIR_P(libtomcrypt/src/ciphers/safer)
805 AS_MKDIR_P(libtomcrypt/src/ciphers/twofish)
806 AS_MKDIR_P(libtomcrypt/src/encauth/ccm)
807 AS_MKDIR_P(libtomcrypt/src/encauth/eax)
808 AS_MKDIR_P(libtomcrypt/src/encauth/gcm)
809 AS_MKDIR_P(libtomcrypt/src/encauth/ocb)
810 AS_MKDIR_P(libtomcrypt/src/hashes)
811 AS_MKDIR_P(libtomcrypt/src/hashes/chc)
812 AS_MKDIR_P(libtomcrypt/src/hashes/helper)
813 AS_MKDIR_P(libtomcrypt/src/hashes/sha2)
814 AS_MKDIR_P(libtomcrypt/src/hashes/whirl)
815 AS_MKDIR_P(libtomcrypt/src/mac/hmac)
816 AS_MKDIR_P(libtomcrypt/src/mac/omac)
817 AS_MKDIR_P(libtomcrypt/src/mac/pelican)
818 AS_MKDIR_P(libtomcrypt/src/mac/pmac)
819 AS_MKDIR_P(libtomcrypt/src/mac/f9)
820 AS_MKDIR_P(libtomcrypt/src/mac/xcbc)
821 AS_MKDIR_P(libtomcrypt/src/math/fp)
822 AS_MKDIR_P(libtomcrypt/src/misc/base64)
823 AS_MKDIR_P(libtomcrypt/src/misc/crypt)
824 AS_MKDIR_P(libtomcrypt/src/misc/mpi)
825 AS_MKDIR_P(libtomcrypt/src/misc/pkcs5)
826 AS_MKDIR_P(libtomcrypt/src/modes/cbc)
827 AS_MKDIR_P(libtomcrypt/src/modes/cfb)
828 AS_MKDIR_P(libtomcrypt/src/modes/ctr)
829 AS_MKDIR_P(libtomcrypt/src/modes/ecb)
830 AS_MKDIR_P(libtomcrypt/src/modes/ofb)
831 AS_MKDIR_P(libtomcrypt/src/modes/f8)
832 AS_MKDIR_P(libtomcrypt/src/modes/lrw)
833 AS_MKDIR_P(libtomcrypt/src/modes/xts)
834 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/bit)
835 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/boolean)
836 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/choice)
837 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/ia5)
838 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/integer)
839 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/object_identifier)
840 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/octet)
841 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/printable_string)
842 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/sequence)
843 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/set)
844 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/short_integer)
845 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/utctime)
846 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/utf8)
847 AS_MKDIR_P(libtomcrypt/src/pk/dh)
848 AS_MKDIR_P(libtomcrypt/src/pk/dsa)
849 AS_MKDIR_P(libtomcrypt/src/pk/ecc)
850 AS_MKDIR_P(libtomcrypt/src/pk/katja)
851 AS_MKDIR_P(libtomcrypt/src/pk/pkcs1)
852 AS_MKDIR_P(libtomcrypt/src/pk/rsa)
853 AS_MKDIR_P(libtomcrypt/src/prngs)
854 LIBTOM_FILES="libtomcrypt/Makefile libtommath/Makefile" 803 LIBTOM_FILES="libtomcrypt/Makefile libtommath/Makefile"
855 fi 804 fi
805
856 AC_CONFIG_HEADER(config.h) 806 AC_CONFIG_HEADER(config.h)
857 AC_CONFIG_FILES(Makefile $LIBTOM_FILES) 807 AC_CONFIG_FILES(Makefile $LIBTOM_FILES)
858 AC_OUTPUT 808 AC_OUTPUT
859 809
860 AC_MSG_NOTICE() 810 AC_MSG_NOTICE()