Mercurial > dropbear
comparison configure.ac @ 1811:7dc92355a986
Remove some obselete autoconf bits.
Keeps autoconf 2.71 happy, though we leave the prereq version at 2.59
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 30 Mar 2021 20:42:04 +0800 |
parents | 8dc43b30c6bf |
children | df7bfd2f7d45 |
comparison
equal
deleted
inserted
replaced
1810:1b160ed94749 | 1811:7dc92355a986 |
---|---|
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.59) | 8 AC_PREREQ([2.59]) |
9 AC_INIT | 9 AC_INIT |
10 AC_CONFIG_SRCDIR(buffer.c) | 10 AC_CONFIG_SRCDIR(buffer.c) |
11 | 11 |
12 # Record which revision is being built | 12 # Record which revision is being built |
13 if test -s "`which hg`" && test -d "$srcdir/.hg"; then | 13 if test -s "`which hg`" && test -d "$srcdir/.hg"; then |
366 ) | 366 ) |
367 AC_SUBST(DROPBEAR_FUZZ) | 367 AC_SUBST(DROPBEAR_FUZZ) |
368 AC_SUBST(CXX) | 368 AC_SUBST(CXX) |
369 | 369 |
370 # Checks for header files. | 370 # Checks for header files. |
371 AC_HEADER_STDC | |
372 AC_HEADER_SYS_WAIT | 371 AC_HEADER_SYS_WAIT |
373 AC_CHECK_HEADERS([netinet/in.h netinet/tcp.h \ | 372 AC_CHECK_HEADERS([netinet/in.h netinet/tcp.h \ |
374 crypt.h \ | 373 crypt.h \ |
375 pty.h libutil.h libgen.h inttypes.h stropts.h utmp.h \ | 374 pty.h libutil.h libgen.h inttypes.h stropts.h utmp.h \ |
376 utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h \ | 375 utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h \ |
381 AC_C_CONST | 380 AC_C_CONST |
382 AC_TYPE_UID_T | 381 AC_TYPE_UID_T |
383 AC_TYPE_MODE_T | 382 AC_TYPE_MODE_T |
384 AC_TYPE_PID_T | 383 AC_TYPE_PID_T |
385 AC_TYPE_SIZE_T | 384 AC_TYPE_SIZE_T |
386 AC_HEADER_TIME | |
387 | 385 |
388 AC_CHECK_TYPES([uint8_t, u_int8_t, uint16_t, u_int16_t, uint32_t, u_int32_t]) | 386 AC_CHECK_TYPES([uint8_t, u_int8_t, uint16_t, u_int16_t, uint32_t, u_int32_t]) |
389 AC_CHECK_TYPES([struct sockaddr_storage]) | 387 AC_CHECK_TYPES([struct sockaddr_storage]) |
390 AC_CHECK_TYPE([socklen_t], ,[ | 388 AC_CHECK_TYPE([socklen_t], ,[ |
391 AC_MSG_CHECKING([for socklen_t equivalent]) | 389 AC_MSG_CHECKING([for socklen_t equivalent]) |
861 if test $BUNDLED_LIBTOM = 1 ; then | 859 if test $BUNDLED_LIBTOM = 1 ; then |
862 (cd $srcdir; find libtomcrypt -type d) | xargs mkdir -pv | 860 (cd $srcdir; find libtomcrypt -type d) | xargs mkdir -pv |
863 LIBTOM_FILES="libtomcrypt/Makefile libtommath/Makefile" | 861 LIBTOM_FILES="libtomcrypt/Makefile libtommath/Makefile" |
864 fi | 862 fi |
865 | 863 |
866 AC_CONFIG_HEADER(config.h) | 864 AC_CONFIG_HEADERS([config.h]) |
867 AC_CONFIG_FILES(Makefile $LIBTOM_FILES) | 865 AC_CONFIG_FILES(Makefile $LIBTOM_FILES) |
868 AC_OUTPUT | 866 AC_OUTPUT |
869 | 867 |
870 AC_MSG_NOTICE() | 868 AC_MSG_NOTICE() |
871 if test $BUNDLED_LIBTOM = 1 ; then | 869 if test $BUNDLED_LIBTOM = 1 ; then |