comparison configure.ac @ 856:f56c41030c15

Replace some deprecated macros with other ones, from Daniel Richard G.
author Matt Johnston <matt@ucc.asn.au>
date Thu, 14 Nov 2013 21:45:50 +0800
parents 4095b6d7c9fc
children 30ab30e46452
comparison
equal deleted inserted replaced
855:04ede40a529a 856:f56c41030c15
3 3
4 # This Autoconf file was cobbled from various locations. In particular, a bunch 4 # This Autoconf file was cobbled from various locations. In particular, a bunch
5 # of the platform checks have been taken straight from OpenSSH's configure.ac 5 # of the platform checks have been taken straight from OpenSSH's configure.ac
6 # Huge thanks to them for dealing with the horrible platform-specifics :) 6 # Huge thanks to them for dealing with the horrible platform-specifics :)
7 7
8 AC_PREREQ(2.50) 8 AC_PREREQ(2.59)
9 AC_INIT(buffer.c) 9 AC_INIT
10 AC_CONFIG_SRCDIR(buffer.c)
10 11
11 OLDCFLAGS=$CFLAGS 12 OLDCFLAGS=$CFLAGS
12 # Checks for programs. 13 # Checks for programs.
13 AC_PROG_CC 14 AC_PROG_CC
14 AC_PROG_MAKE_SET 15 AC_PROG_MAKE_SET
219 AC_TYPE_MODE_T 220 AC_TYPE_MODE_T
220 AC_TYPE_PID_T 221 AC_TYPE_PID_T
221 AC_TYPE_SIZE_T 222 AC_TYPE_SIZE_T
222 AC_HEADER_TIME 223 AC_HEADER_TIME
223 224
224 AC_CHECK_TYPES([uint16_t, u_int16_t, struct sockaddr_storage]) 225 AC_CHECK_TYPES([uint8_t, u_int8_t, uint16_t, u_int16_t, uint32_t, u_int32_t])
226 AC_CHECK_TYPES([struct sockaddr_storage])
225 AC_CHECK_TYPE([socklen_t], ,[ 227 AC_CHECK_TYPE([socklen_t], ,[
226 AC_MSG_CHECKING([for socklen_t equivalent]) 228 AC_MSG_CHECKING([for socklen_t equivalent])
227 AC_CACHE_VAL([curl_cv_socklen_t_equiv], 229 AC_CACHE_VAL([curl_cv_socklen_t_equiv],
228 [ 230 [
229 # Systems have either "struct sockaddr *" or 231 # Systems have either "struct sockaddr *" or
230 # "void *" as the second argument to getpeername 232 # "void *" as the second argument to getpeername
231 curl_cv_socklen_t_equiv= 233 curl_cv_socklen_t_equiv=
232 for arg2 in "struct sockaddr" void; do 234 for arg2 in "struct sockaddr" void; do
233 for t in int size_t unsigned long "unsigned long"; do 235 for t in int size_t unsigned long "unsigned long"; do
234 AC_TRY_COMPILE([ 236 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
235 #include <sys/types.h> 237 #include <sys/types.h>
236 #include <sys/socket.h> 238 #include <sys/socket.h>
237 239
238 int getpeername (int, $arg2 *, $t *); 240 int getpeername (int, $arg2 *, $t *);
239 ],[ 241 ]],[[
240 $t len; 242 $t len;
241 getpeername(0,0,&len); 243 getpeername(0,0,&len);
242 ],[ 244 ]])],[
243 curl_cv_socklen_t_equiv="$t" 245 curl_cv_socklen_t_equiv="$t"
244 break 246 break
245 ]) 247 ])
246 done 248 done
247 done 249 done
257 #include <sys/socket.h>]) 259 #include <sys/socket.h>])
258 260
259 # for the fake-rfc2553 stuff - straight from OpenSSH 261 # for the fake-rfc2553 stuff - straight from OpenSSH
260 262
261 AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_have_struct_sockaddr_storage, [ 263 AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_have_struct_sockaddr_storage, [
262 AC_TRY_COMPILE( 264 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
263 [
264 #include <sys/types.h> 265 #include <sys/types.h>
265 #include <sys/socket.h> 266 #include <sys/socket.h>
266 ], 267 ]],
267 [ struct sockaddr_storage s; ], 268 [[ struct sockaddr_storage s; ]])],
268 [ ac_cv_have_struct_sockaddr_storage="yes" ], 269 [ ac_cv_have_struct_sockaddr_storage="yes" ],
269 [ ac_cv_have_struct_sockaddr_storage="no" ] 270 [ ac_cv_have_struct_sockaddr_storage="no" ]
270 ) 271 )
271 ]) 272 ])
272 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 273 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
273 AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE) 274 AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE)
274 fi 275 fi
275 276
276 AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [ 277 AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [
277 AC_TRY_COMPILE( 278 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
278 [
279 #include <sys/types.h> 279 #include <sys/types.h>
280 #include <netinet/in.h> 280 #include <netinet/in.h>
281 ], 281 ]],
282 [ struct sockaddr_in6 s; s.sin6_family = 0; ], 282 [[ struct sockaddr_in6 s; s.sin6_family = 0; ]])],
283 [ ac_cv_have_struct_sockaddr_in6="yes" ], 283 [ ac_cv_have_struct_sockaddr_in6="yes" ],
284 [ ac_cv_have_struct_sockaddr_in6="no" ] 284 [ ac_cv_have_struct_sockaddr_in6="no" ]
285 ) 285 )
286 ]) 286 ])
287 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 287 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
288 AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6,,Have struct sockaddr_in6) 288 AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6,,Have struct sockaddr_in6)
289 fi 289 fi
290 290
291 AC_CACHE_CHECK([for struct in6_addr], ac_cv_have_struct_in6_addr, [ 291 AC_CACHE_CHECK([for struct in6_addr], ac_cv_have_struct_in6_addr, [
292 AC_TRY_COMPILE( 292 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
293 [
294 #include <sys/types.h> 293 #include <sys/types.h>
295 #include <netinet/in.h> 294 #include <netinet/in.h>
296 ], 295 ]],
297 [ struct in6_addr s; s.s6_addr[0] = 0; ], 296 [[ struct in6_addr s; s.s6_addr[0] = 0; ]])],
298 [ ac_cv_have_struct_in6_addr="yes" ], 297 [ ac_cv_have_struct_in6_addr="yes" ],
299 [ ac_cv_have_struct_in6_addr="no" ] 298 [ ac_cv_have_struct_in6_addr="no" ]
300 ) 299 )
301 ]) 300 ])
302 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 301 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
303 AC_DEFINE(HAVE_STRUCT_IN6_ADDR,,Have struct in6_addr) 302 AC_DEFINE(HAVE_STRUCT_IN6_ADDR,,Have struct in6_addr)
304 fi 303 fi
305 304
306 AC_CACHE_CHECK([for struct addrinfo], ac_cv_have_struct_addrinfo, [ 305 AC_CACHE_CHECK([for struct addrinfo], ac_cv_have_struct_addrinfo, [
307 AC_TRY_COMPILE( 306 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
308 [
309 #include <sys/types.h> 307 #include <sys/types.h>
310 #include <sys/socket.h> 308 #include <sys/socket.h>
311 #include <netdb.h> 309 #include <netdb.h>
312 ], 310 ]],
313 [ struct addrinfo s; s.ai_flags = AI_PASSIVE; ], 311 [[ struct addrinfo s; s.ai_flags = AI_PASSIVE; ]])],
314 [ ac_cv_have_struct_addrinfo="yes" ], 312 [ ac_cv_have_struct_addrinfo="yes" ],
315 [ ac_cv_have_struct_addrinfo="no" ] 313 [ ac_cv_have_struct_addrinfo="no" ]
316 ) 314 )
317 ]) 315 ])
318 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 316 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
321 319
322 320
323 # IRIX has a const char return value for gai_strerror() 321 # IRIX has a const char return value for gai_strerror()
324 AC_CHECK_FUNCS(gai_strerror,[ 322 AC_CHECK_FUNCS(gai_strerror,[
325 AC_DEFINE(HAVE_GAI_STRERROR) 323 AC_DEFINE(HAVE_GAI_STRERROR)
326 AC_TRY_COMPILE([ 324 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
327 #include <sys/types.h> 325 #include <sys/types.h>
328 #include <sys/socket.h> 326 #include <sys/socket.h>
329 #include <netdb.h> 327 #include <netdb.h>
330 328
331 const char *gai_strerror(int);],[ 329 const char *gai_strerror(int);]],[[
332 char *str; 330 char *str;
333 331
334 str = gai_strerror(0);],[ 332 str = gai_strerror(0);]])],[
335 AC_DEFINE(HAVE_CONST_GAI_STRERROR_PROTO, 1, 333 AC_DEFINE(HAVE_CONST_GAI_STRERROR_PROTO, 1,
336 [Define if gai_strerror() returns const char *])])]) 334 [Define if gai_strerror() returns const char *])])])
337 335
338 # for loginrec.c 336 # for loginrec.c
339 337
451 dnl lastlog and [uw]tmp are subject to a file search if all else fails 449 dnl lastlog and [uw]tmp are subject to a file search if all else fails
452 450
453 dnl lastlog detection 451 dnl lastlog detection
454 dnl NOTE: the code itself will detect if lastlog is a directory 452 dnl NOTE: the code itself will detect if lastlog is a directory
455 AC_MSG_CHECKING([if your system defines LASTLOG_FILE]) 453 AC_MSG_CHECKING([if your system defines LASTLOG_FILE])
456 AC_TRY_COMPILE([ 454 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
457 #include <sys/types.h> 455 #include <sys/types.h>
458 #include <utmp.h> 456 #include <utmp.h>
459 #ifdef HAVE_LASTLOG_H 457 #ifdef HAVE_LASTLOG_H
460 # include <lastlog.h> 458 # include <lastlog.h>
461 #endif 459 #endif
463 # include <paths.h> 461 # include <paths.h>
464 #endif 462 #endif
465 #ifdef HAVE_LOGIN_H 463 #ifdef HAVE_LOGIN_H
466 # include <login.h> 464 # include <login.h>
467 #endif 465 #endif
468 ], 466 ]],
469 [ char *lastlog = LASTLOG_FILE; ], 467 [[ char *lastlog = LASTLOG_FILE; ]])],
470 [ AC_MSG_RESULT(yes) ], 468 [ AC_MSG_RESULT(yes) ],
471 [ 469 [
472 AC_MSG_RESULT(no) 470 AC_MSG_RESULT(no)
473 AC_MSG_CHECKING([if your system defines _PATH_LASTLOG]) 471 AC_MSG_CHECKING([if your system defines _PATH_LASTLOG])
474 AC_TRY_COMPILE([ 472 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
475 #include <sys/types.h> 473 #include <sys/types.h>
476 #include <utmp.h> 474 #include <utmp.h>
477 #ifdef HAVE_LASTLOG_H 475 #ifdef HAVE_LASTLOG_H
478 # include <lastlog.h> 476 # include <lastlog.h>
479 #endif 477 #endif
480 #ifdef HAVE_PATHS_H 478 #ifdef HAVE_PATHS_H
481 # include <paths.h> 479 # include <paths.h>
482 #endif 480 #endif
483 ], 481 ]],
484 [ char *lastlog = _PATH_LASTLOG; ], 482 [[ char *lastlog = _PATH_LASTLOG; ]])],
485 [ AC_MSG_RESULT(yes) ], 483 [ AC_MSG_RESULT(yes) ],
486 [ 484 [
487 AC_MSG_RESULT(no) 485 AC_MSG_RESULT(no)
488 system_lastlog_path=no 486 system_lastlog_path=no
489 ]) 487 ])
508 AC_DEFINE_UNQUOTED(CONF_LASTLOG_FILE, "$conf_lastlog_location", lastlog file location) 506 AC_DEFINE_UNQUOTED(CONF_LASTLOG_FILE, "$conf_lastlog_location", lastlog file location)
509 fi 507 fi
510 508
511 dnl utmp detection 509 dnl utmp detection
512 AC_MSG_CHECKING([if your system defines UTMP_FILE]) 510 AC_MSG_CHECKING([if your system defines UTMP_FILE])
513 AC_TRY_COMPILE([ 511 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
514 #include <sys/types.h> 512 #include <sys/types.h>
515 #include <utmp.h> 513 #include <utmp.h>
516 #ifdef HAVE_PATHS_H 514 #ifdef HAVE_PATHS_H
517 # include <paths.h> 515 # include <paths.h>
518 #endif 516 #endif
519 ], 517 ]],
520 [ char *utmp = UTMP_FILE; ], 518 [[ char *utmp = UTMP_FILE; ]])],
521 [ AC_MSG_RESULT(yes) ], 519 [ AC_MSG_RESULT(yes) ],
522 [ AC_MSG_RESULT(no) 520 [ AC_MSG_RESULT(no)
523 system_utmp_path=no ] 521 system_utmp_path=no ]
524 ) 522 )
525 if test -z "$conf_utmp_location"; then 523 if test -z "$conf_utmp_location"; then
538 AC_DEFINE_UNQUOTED(CONF_UTMP_FILE, "$conf_utmp_location", utmp file location) 536 AC_DEFINE_UNQUOTED(CONF_UTMP_FILE, "$conf_utmp_location", utmp file location)
539 fi 537 fi
540 538
541 dnl wtmp detection 539 dnl wtmp detection
542 AC_MSG_CHECKING([if your system defines WTMP_FILE]) 540 AC_MSG_CHECKING([if your system defines WTMP_FILE])
543 AC_TRY_COMPILE([ 541 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
544 #include <sys/types.h> 542 #include <sys/types.h>
545 #include <utmp.h> 543 #include <utmp.h>
546 #ifdef HAVE_PATHS_H 544 #ifdef HAVE_PATHS_H
547 # include <paths.h> 545 # include <paths.h>
548 #endif 546 #endif
549 ], 547 ]],
550 [ char *wtmp = WTMP_FILE; ], 548 [[ char *wtmp = WTMP_FILE; ]])],
551 [ AC_MSG_RESULT(yes) ], 549 [ AC_MSG_RESULT(yes) ],
552 [ AC_MSG_RESULT(no) 550 [ AC_MSG_RESULT(no)
553 system_wtmp_path=no ] 551 system_wtmp_path=no ]
554 ) 552 )
555 if test -z "$conf_wtmp_location"; then 553 if test -z "$conf_wtmp_location"; then
571 569
572 dnl utmpx detection - I don't know any system so perverse as to require 570 dnl utmpx detection - I don't know any system so perverse as to require
573 dnl utmpx, but not define UTMPX_FILE (ditto wtmpx.) No doubt it's out 571 dnl utmpx, but not define UTMPX_FILE (ditto wtmpx.) No doubt it's out
574 dnl there, though. 572 dnl there, though.
575 AC_MSG_CHECKING([if your system defines UTMPX_FILE]) 573 AC_MSG_CHECKING([if your system defines UTMPX_FILE])
576 AC_TRY_COMPILE([ 574 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
577 #include <sys/types.h> 575 #include <sys/types.h>
578 #include <utmp.h> 576 #include <utmp.h>
579 #ifdef HAVE_UTMPX_H 577 #ifdef HAVE_UTMPX_H
580 #include <utmpx.h> 578 #include <utmpx.h>
581 #endif 579 #endif
582 #ifdef HAVE_PATHS_H 580 #ifdef HAVE_PATHS_H
583 # include <paths.h> 581 # include <paths.h>
584 #endif 582 #endif
585 ], 583 ]],
586 [ char *utmpx = UTMPX_FILE; ], 584 [[ char *utmpx = UTMPX_FILE; ]])],
587 [ AC_MSG_RESULT(yes) ], 585 [ AC_MSG_RESULT(yes) ],
588 [ AC_MSG_RESULT(no) 586 [ AC_MSG_RESULT(no)
589 system_utmpx_path=no ] 587 system_utmpx_path=no ]
590 ) 588 )
591 if test -z "$conf_utmpx_location"; then 589 if test -z "$conf_utmpx_location"; then
596 AC_DEFINE_UNQUOTED(CONF_UTMPX_FILE, "$conf_utmpx_location", utmpx file location) 594 AC_DEFINE_UNQUOTED(CONF_UTMPX_FILE, "$conf_utmpx_location", utmpx file location)
597 fi 595 fi
598 596
599 dnl wtmpx detection 597 dnl wtmpx detection
600 AC_MSG_CHECKING([if your system defines WTMPX_FILE]) 598 AC_MSG_CHECKING([if your system defines WTMPX_FILE])
601 AC_TRY_COMPILE([ 599 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
602 #include <sys/types.h> 600 #include <sys/types.h>
603 #include <utmp.h> 601 #include <utmp.h>
604 #ifdef HAVE_UTMPX_H 602 #ifdef HAVE_UTMPX_H
605 #include <utmpx.h> 603 #include <utmpx.h>
606 #endif 604 #endif
607 #ifdef HAVE_PATHS_H 605 #ifdef HAVE_PATHS_H
608 # include <paths.h> 606 # include <paths.h>
609 #endif 607 #endif
610 ], 608 ]],
611 [ char *wtmpx = WTMPX_FILE; ], 609 [[ char *wtmpx = WTMPX_FILE; ]])],
612 [ AC_MSG_RESULT(yes) ], 610 [ AC_MSG_RESULT(yes) ],
613 [ AC_MSG_RESULT(no) 611 [ AC_MSG_RESULT(no)
614 system_wtmpx_path=no ] 612 system_wtmpx_path=no ]
615 ) 613 )
616 if test -z "$conf_wtmpx_location"; then 614 if test -z "$conf_wtmpx_location"; then
623 621
624 # Checks for library functions. 622 # Checks for library functions.
625 AC_PROG_GCC_TRADITIONAL 623 AC_PROG_GCC_TRADITIONAL
626 AC_FUNC_MEMCMP 624 AC_FUNC_MEMCMP
627 AC_FUNC_SELECT_ARGTYPES 625 AC_FUNC_SELECT_ARGTYPES
628 AC_TYPE_SIGNAL
629 AC_CHECK_FUNCS([dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev]) 626 AC_CHECK_FUNCS([dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev])
630 627
631 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) 628 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
632 629
633 # Solaris needs ptmx 630 # Solaris needs ptmx
634 if test -z "$no_ptmx_check" ; then 631 if test -z "$no_ptmx_check" ; then
635 if test x"$cross_compiling" = x"no" ; then 632 if test x"$cross_compiling" = x"no" ; then
636 AC_CHECK_FILE("/dev/ptmx", AC_DEFINE(USE_DEV_PTMX,,Use /dev/ptmx)) 633 if test -e /dev/ptmx ; then
634 AC_DEFINE(USE_DEV_PTMX,,Use /dev/ptmx)
635 fi
637 else 636 else
638 AC_MSG_NOTICE([Not checking for /dev/ptmx, we're cross-compiling]) 637 AC_MSG_NOTICE([Not checking for /dev/ptmx, we're cross-compiling])
639 fi 638 fi
640 fi 639 fi
641 640
642 if test -z "$no_ptc_check" ; then 641 if test -z "$no_ptc_check" ; then
643 if test x"$cross_compiling" = x"no" ; then 642 if test x"$cross_compiling" = x"no" ; then
644 AC_CHECK_FILE("/dev/ptc", AC_DEFINE(HAVE_DEV_PTS_AND_PTC,,Use /dev/ptc & /dev/pts)) 643 if test -e /dev/ptc ; then
644 AC_DEFINE(HAVE_DEV_PTS_AND_PTC,,Use /dev/ptc & /dev/pts)
645 fi
645 else 646 else
646 AC_MSG_NOTICE([Not checking for /dev/ptc & /dev/pts since we're cross-compiling]) 647 AC_MSG_NOTICE([Not checking for /dev/ptc & /dev/pts since we're cross-compiling])
647 fi 648 fi
648 fi 649 fi
649 650
679 AS_MKDIR_P(libtomcrypt/src/modes/ecb) 680 AS_MKDIR_P(libtomcrypt/src/modes/ecb)
680 AS_MKDIR_P(libtomcrypt/src/modes/ofb) 681 AS_MKDIR_P(libtomcrypt/src/modes/ofb)
681 AS_MKDIR_P(libtomcrypt/src/modes/f8) 682 AS_MKDIR_P(libtomcrypt/src/modes/f8)
682 AS_MKDIR_P(libtomcrypt/src/modes/lrw) 683 AS_MKDIR_P(libtomcrypt/src/modes/lrw)
683 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/bit) 684 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/bit)
685 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/boolean)
684 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/choice) 686 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/choice)
685 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/ia5) 687 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/ia5)
686 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/integer) 688 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/integer)
687 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/object_identifier) 689 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/object_identifier)
688 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/octet) 690 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/octet)
689 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/printable_string) 691 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/printable_string)
690 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/sequence) 692 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/sequence)
693 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/set)
691 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/short_integer) 694 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/short_integer)
692 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/utctime) 695 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/utctime)
696 AS_MKDIR_P(libtomcrypt/src/pk/asn1/der/utf8)
693 AS_MKDIR_P(libtomcrypt/src/pk/dh) 697 AS_MKDIR_P(libtomcrypt/src/pk/dh)
694 AS_MKDIR_P(libtomcrypt/src/pk/dsa) 698 AS_MKDIR_P(libtomcrypt/src/pk/dsa)
695 AS_MKDIR_P(libtomcrypt/src/pk/ecc) 699 AS_MKDIR_P(libtomcrypt/src/pk/ecc)
700 AS_MKDIR_P(libtomcrypt/src/pk/katja)
696 AS_MKDIR_P(libtomcrypt/src/pk/pkcs1) 701 AS_MKDIR_P(libtomcrypt/src/pk/pkcs1)
697 AS_MKDIR_P(libtomcrypt/src/pk/rsa) 702 AS_MKDIR_P(libtomcrypt/src/pk/rsa)
698 AS_MKDIR_P(libtomcrypt/src/prngs) 703 AS_MKDIR_P(libtomcrypt/src/prngs)
699 AC_CONFIG_HEADER(config.h) 704 AC_CONFIG_HEADER(config.h)
700 AC_OUTPUT(Makefile) 705 AC_CONFIG_FILES(Makefile libtomcrypt/Makefile libtommath/Makefile)
701 AC_OUTPUT(libtomcrypt/Makefile) 706 AC_OUTPUT
702 AC_OUTPUT(libtommath/Makefile)
703 707
704 AC_MSG_NOTICE() 708 AC_MSG_NOTICE()
705 if test $BUNDLED_LIBTOM = 1 ; then 709 if test $BUNDLED_LIBTOM = 1 ; then
706 AC_MSG_NOTICE(Using bundled libtomcrypt and libtommath) 710 AC_MSG_NOTICE(Using bundled libtomcrypt and libtommath)
707 else 711 else