pike.git / src / modules / Mysql / configure.in

version» Context lines:

pike.git/src/modules/Mysql/configure.in:148:    # We handle the client library itself later.    ;;    *)    # NB: We need to buffer libs to get them in the correct order.    echo "Adding $2 to LIBS."    MARIADB_LIBS="${MARIADB_LIBS} $2"    ;;    esac    shift    done +  +  if echo " $MARIADB_LIBS" | grep -i iconv >/dev/null; then :; else +  # NB: Sometimes iconv doesn't get listed by mariadb_config. +  AC_CHECK_LIB(iconv, iconv_open, [ +  MARIADB_LIBS="${MARIADB_LIBS} -liconv" +  ], [ +  AC_CHECK_LIB(iconv, libiconv_open, [ +  MARIADB_LIBS="${MARIADB_LIBS} -liconv" +  ]) +  ]) +  fi +     echo "Adding `${MARIADB_CONFIG} --include` to CPPFLAGS."    CPPFLAGS="`${MARIADB_CONFIG} --include` ${CPPFLAGS}"    fi          # Header file       AC_CHECK_HEADERS(winsock2.h winsock.h mysql.h mysql/mysql.h errmsg.h mysql/errmsg.h,,,[   #if HAVE_WINSOCK2_H   #include <winsock2.h>