X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=m4%2Fopenvswitch.m4;h=6dda3508c22abcc6c2aeb7b48e590372aed09923;hb=d12513f7075373d07565f66ab4c781b73b00867d;hp=c5f0742016f0f5aad9b31b0b0587cf10bdc8cfcb;hpb=a5eef57e2c43a427b901baa6f0b79d00d2c222d3;p=openvswitch diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index c5f07420..6dda3508 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -75,18 +75,18 @@ AC_DEFUN([OVS_CHECK_OPENSSL], if test "$ssl" != false; then dnl Make sure that pkg-config is installed. m4_pattern_forbid([PKG_CHECK_MODULES]) - PKG_CHECK_MODULES([SSL], [libssl], + PKG_CHECK_MODULES([SSL], [openssl], [HAVE_OPENSSL=yes], [HAVE_OPENSSL=no if test "$ssl" = check; then - AC_MSG_WARN([Cannot find libssl: + AC_MSG_WARN([Cannot find openssl: $SSL_PKG_ERRORS OpenFlow connections over SSL will not be supported. (You may use --disable-ssl to suppress this warning.)]) else - AC_MSG_ERROR([Cannot find libssl (use --disable-ssl to configure without SSL support)]) + AC_MSG_ERROR([Cannot find openssl (use --disable-ssl to configure without SSL support)]) fi]) else HAVE_OPENSSL=no @@ -348,4 +348,6 @@ AC_DEFUN([OVS_CHECK_LINKER_SECTIONS], into sections with user-defined names and the linker automatically defines __start_SECNAME and __stop_SECNAME symbols that designate the start and end of the section.]) - fi]) + fi + AM_CONDITIONAL( + [USE_LINKER_SECTIONS], [test $ovs_cv_use_linker_sections = yes])])