You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2024. It is now read-only.
It's decided that this functionality will not be provided for GPDB7
and forward. Hence, deleting the code for the same.
Reviewed-by: Adam Lee <[email protected]>
Copy file name to clipboardExpand all lines: configure.in
+2-26
Original file line number
Diff line number
Diff line change
@@ -812,15 +812,6 @@ if test "$PORTNAME" = darwin; then
812
812
fi
813
813
814
814
815
-
#
816
-
# --enable-mapreduce enables GPMapreduce support
817
-
#
818
-
PGAC_ARG_BOOL(enable, mapreduce, no, [enable Greenplum Mapreduce support],
819
-
[AC_DEFINE([USE_MAPREDUCE], 1,
820
-
[Define to 1 to build with Mapreduce capabilities (--enable-mapreduce)])])
821
-
AC_MSG_RESULT([checking whether to build with Greenplum Mapreduce... $enable_mapreduce])
822
-
AC_SUBST(enable_mapreduce)
823
-
824
815
#
825
816
# gpcloud, enabled by default
826
817
#
@@ -1469,15 +1460,7 @@ if test "$enable_gpfdist" = yes ; then
1469
1460
EVENT_LIBS=" -levent"
1470
1461
AC_SUBST(EVENT_LIBS)
1471
1462
1472
-
AC_SEARCH_LIBS(yaml_parser_initialize, [yaml], [have_yaml=yes; YAML_LIBS=" -lyaml"], [AC_MSG_WARN([libyaml is not found. disabling transformations for gpfdist.])])
1473
-
AC_SUBST(YAML_LIBS)
1474
-
AC_SUBST(have_yaml)
1475
-
LIBS="$_LIBS"
1476
-
fi
1477
-
1478
-
if test "$enable_mapreduce" = yes ; then
1479
-
_LIBS="$LIBS"
1480
-
AC_SEARCH_LIBS(yaml_parser_initialize, [yaml], [have_yaml=yes; YAML_LIBS=" -lyaml"], [AC_MSG_ERROR([libyaml is required for Greenplum Mapreduce])])
1463
+
AC_SEARCH_LIBS(yaml_parser_initialize, [yaml], [have_yaml=yes; YAML_LIBS=" -lyaml"], [AC_MSG_ERROR([libyaml is required for transformations for gpfdist.])])
1481
1464
AC_SUBST(YAML_LIBS)
1482
1465
AC_SUBST(have_yaml)
1483
1466
LIBS="$_LIBS"
@@ -1727,7 +1710,7 @@ if test "$enable_gpfdist" = yes; then
1727
1710
AC_CHECK_HEADERS([winsock2.h])
1728
1711
fi
1729
1712
1730
-
AC_CHECK_HEADERS(yaml.h, [], [AC_MSG_WARN([header file <yaml.h> is not found. disabling transformations for gpfdist.])])
1713
+
AC_CHECK_HEADERS(yaml.h, [], [AC_MSG_ERROR([header file <yaml.h> is required for transformations for gpfdist.])])
1731
1714
AC_CHECK_HEADERS(event.h, [], [AC_MSG_ERROR([header file <event.h> is required for gpfdist])])
1732
1715
1733
1716
ac_save_CPPFLAGS=$CPPFLAGS
@@ -1873,13 +1856,6 @@ if test "$with_rt" = yes; then
1873
1856
[AC_MSG_ERROR([header file <time.h> is required for realtime library support])])
1874
1857
fi
1875
1858
1876
-
if test "$enable_mapreduce" = yes; then
1877
-
if test "$with_perl" = no; then
1878
-
AC_MSG_ERROR([Greenplum Mapreduce requires Perl, reconfigure with --with-perl])
1879
-
fi
1880
-
AC_CHECK_HEADERS(yaml.h, [], [AC_MSG_ERROR([header file <yaml.h> is required for Greenplum Mapreduce])])
0 commit comments