diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/configure.ac b/configure.ac index 0fc1ebe02..fe9143dfb 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -584,40 +584,6 @@ else | |||
584 | AM_CONDITIONAL(HAVE_PYTHON_PEXPECT, 0) | 584 | AM_CONDITIONAL(HAVE_PYTHON_PEXPECT, 0) |
585 | fi | 585 | fi |
586 | 586 | ||
587 | # libesmtp | ||
588 | esmtp=0 | ||
589 | AC_MSG_CHECKING([for libesmtp]) | ||
590 | AC_ARG_WITH(esmtp, | ||
591 | [ --with-esmtp=PFX base of libesmtp installation], | ||
592 | [AC_MSG_RESULT([$with_esmtp]) | ||
593 | case $with_esmtp in | ||
594 | no) | ||
595 | ;; | ||
596 | yes) | ||
597 | AC_CHECK_HEADERS(libesmtp.h, | ||
598 | AC_CHECK_LIB([esmtp], [smtp_start_session], | ||
599 | esmtp=1)) | ||
600 | ;; | ||
601 | *) | ||
602 | LDFLAGS="-L$with_esmtp/lib $LDFLAGS" | ||
603 | CPPFLAGS="-I$with_esmtp/include $CPPFLAGS" | ||
604 | AC_CHECK_HEADERS(libesmtp.h, | ||
605 | AC_CHECK_LIB([esmtp], [smtp_start_session], | ||
606 | EXT_LIB_PATH="-L$with_esmtp/lib $EXT_LIB_PATH" | ||
607 | esmtp=1)) | ||
608 | ;; | ||
609 | esac | ||
610 | ], | ||
611 | [AC_MSG_RESULT([--with-esmtp not specified]) | ||
612 | AC_CHECK_HEADERS(libesmtp.h, | ||
613 | AC_CHECK_LIB([esmtp], [smtp_start_session], | ||
614 | esmtp=1))]) | ||
615 | AM_CONDITIONAL(HAVE_ESMTP, test x$esmtp = x1) | ||
616 | AC_DEFINE_UNQUOTED([HAVE_ESMTP], $esmtp, [We have libesmtp]) | ||
617 | # restore LIBS | ||
618 | LIBS=$SAVE_LIBS | ||
619 | |||
620 | |||
621 | 587 | ||
622 | # check for gettext | 588 | # check for gettext |
623 | AM_GNU_GETTEXT([external]) | 589 | AM_GNU_GETTEXT([external]) |
@@ -826,7 +792,6 @@ src/include/Makefile | |||
826 | src/include/gnunet_directories.h | 792 | src/include/gnunet_directories.h |
827 | src/hostlist/Makefile | 793 | src/hostlist/Makefile |
828 | src/mesh/Makefile | 794 | src/mesh/Makefile |
829 | src/monkey/Makefile | ||
830 | src/nat/Makefile | 795 | src/nat/Makefile |
831 | src/peerinfo/Makefile | 796 | src/peerinfo/Makefile |
832 | src/peerinfo-tool/Makefile | 797 | src/peerinfo-tool/Makefile |