@@ -422,7 +422,7 @@ SHELL=${CONFIG_SHELL-/bin/sh}
422422
423423# Identity of this package.
424424PACKAGE_NAME='OpenCOBOL'
425- PACKAGE_TARNAME='opensource-cobol-1.3.2J '
425+ PACKAGE_TARNAME='opensource-cobol-1.4J '
426426PACKAGE_VERSION='1.1'
427427PACKAGE_STRING='OpenCOBOL 1.1'
428428PACKAGE_BUGREPORT='open-cobol-list@lists.sourceforge.net'
18581858
18591859
18601860# Define the identity of the package.
1861- PACKAGE='opensource-cobol-1.3.2J '
1861+ PACKAGE='opensource-cobol-1.4J '
18621862 VERSION='1.1'
18631863
18641864
@@ -24797,7 +24797,7 @@ _ACEOF
2479724797
2479824798 MYOLDLIBS="$LIBS"
2479924799 export MYOCLIBS
24800- for MYOCLIBS in db db-4.5 db-4.4 db-4.3 db-4.2 db-4.1
24800+ for MYOCLIBS in db db4 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1
2480124801 do
2480224802 LIBS="$MYOLDLIBS -l$MYOCLIBS"
2480324803 if test "$cross_compiling" = yes; then
@@ -25863,6 +25863,147 @@ if test $ac_cv_lib_db_4_dbopen = yes; then
2586325863 USE_DB="yes" LIBCOB_LIBS="$LIBCOB_LIBS -ldb-4"
2586425864fi
2586525865
25866+ fi
25867+
25868+ fi
25869+
25870+ if test "$USE_DB" != "yes"
25871+ then
25872+ echo "$as_me:$LINENO: checking for __db_open in -ldb4" >&5
25873+ echo $ECHO_N "checking for __db_open in -ldb4... $ECHO_C" >&6
25874+ if test "${ac_cv_lib_db4___db_open+set}" = set; then
25875+ echo $ECHO_N "(cached) $ECHO_C" >&6
25876+ else
25877+ ac_check_lib_save_LIBS=$LIBS
25878+ LIBS="-ldb4 $LIBS"
25879+ cat >conftest.$ac_ext <<_ACEOF
25880+ /* confdefs.h. */
25881+ _ACEOF
25882+ cat confdefs.h >>conftest.$ac_ext
25883+ cat >>conftest.$ac_ext <<_ACEOF
25884+ /* end confdefs.h. */
25885+
25886+ /* Override any gcc2 internal prototype to avoid an error. */
25887+ #ifdef __cplusplus
25888+ extern "C"
25889+ #endif
25890+ /* We use char because int might match the return type of a gcc2
25891+ builtin and then its argument prototype would still apply. */
25892+ char __db_open ();
25893+ int
25894+ main ()
25895+ {
25896+ __db_open ();
25897+ ;
25898+ return 0;
25899+ }
25900+ _ACEOF
25901+ rm -f conftest.$ac_objext conftest$ac_exeext
25902+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25903+ (eval $ac_link) 2>conftest.er1
25904+ ac_status=$?
25905+ grep -v '^ *+' conftest.er1 >conftest.err
25906+ rm -f conftest.er1
25907+ cat conftest.err >&5
25908+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909+ (exit $ac_status); } &&
25910+ { ac_try='test -z "$ac_c_werror_flag"
25911+ || test ! -s conftest.err'
25912+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25913+ (eval $ac_try) 2>&5
25914+ ac_status=$?
25915+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916+ (exit $ac_status); }; } &&
25917+ { ac_try='test -s conftest$ac_exeext'
25918+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919+ (eval $ac_try) 2>&5
25920+ ac_status=$?
25921+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922+ (exit $ac_status); }; }; then
25923+ ac_cv_lib_db4___db_open=yes
25924+ else
25925+ echo "$as_me: failed program was:" >&5
25926+ sed 's/^/| /' conftest.$ac_ext >&5
25927+
25928+ ac_cv_lib_db4___db_open=no
25929+ fi
25930+ rm -f conftest.err conftest.$ac_objext \
25931+ conftest$ac_exeext conftest.$ac_ext
25932+ LIBS=$ac_check_lib_save_LIBS
25933+ fi
25934+ echo "$as_me:$LINENO: result: $ac_cv_lib_db4___db_open" >&5
25935+ echo "${ECHO_T}$ac_cv_lib_db4___db_open" >&6
25936+ if test $ac_cv_lib_db4___db_open = yes; then
25937+ USE_DB="yes" LIBCOB_LIBS="$LIBCOB_LIBS -ldb4"
25938+ else
25939+ echo "$as_me:$LINENO: checking for dbopen in -ldb4" >&5
25940+ echo $ECHO_N "checking for dbopen in -ldb4... $ECHO_C" >&6
25941+ if test "${ac_cv_lib_db4_dbopen+set}" = set; then
25942+ echo $ECHO_N "(cached) $ECHO_C" >&6
25943+ else
25944+ ac_check_lib_save_LIBS=$LIBS
25945+ LIBS="-ldb4 $LIBS"
25946+ cat >conftest.$ac_ext <<_ACEOF
25947+ /* confdefs.h. */
25948+ _ACEOF
25949+ cat confdefs.h >>conftest.$ac_ext
25950+ cat >>conftest.$ac_ext <<_ACEOF
25951+ /* end confdefs.h. */
25952+
25953+ /* Override any gcc2 internal prototype to avoid an error. */
25954+ #ifdef __cplusplus
25955+ extern "C"
25956+ #endif
25957+ /* We use char because int might match the return type of a gcc2
25958+ builtin and then its argument prototype would still apply. */
25959+ char dbopen ();
25960+ int
25961+ main ()
25962+ {
25963+ dbopen ();
25964+ ;
25965+ return 0;
25966+ }
25967+ _ACEOF
25968+ rm -f conftest.$ac_objext conftest$ac_exeext
25969+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25970+ (eval $ac_link) 2>conftest.er1
25971+ ac_status=$?
25972+ grep -v '^ *+' conftest.er1 >conftest.err
25973+ rm -f conftest.er1
25974+ cat conftest.err >&5
25975+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976+ (exit $ac_status); } &&
25977+ { ac_try='test -z "$ac_c_werror_flag"
25978+ || test ! -s conftest.err'
25979+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980+ (eval $ac_try) 2>&5
25981+ ac_status=$?
25982+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983+ (exit $ac_status); }; } &&
25984+ { ac_try='test -s conftest$ac_exeext'
25985+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986+ (eval $ac_try) 2>&5
25987+ ac_status=$?
25988+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989+ (exit $ac_status); }; }; then
25990+ ac_cv_lib_db4_dbopen=yes
25991+ else
25992+ echo "$as_me: failed program was:" >&5
25993+ sed 's/^/| /' conftest.$ac_ext >&5
25994+
25995+ ac_cv_lib_db4_dbopen=no
25996+ fi
25997+ rm -f conftest.err conftest.$ac_objext \
25998+ conftest$ac_exeext conftest.$ac_ext
25999+ LIBS=$ac_check_lib_save_LIBS
26000+ fi
26001+ echo "$as_me:$LINENO: result: $ac_cv_lib_db4_dbopen" >&5
26002+ echo "${ECHO_T}$ac_cv_lib_db4_dbopen" >&6
26003+ if test $ac_cv_lib_db4_dbopen = yes; then
26004+ USE_DB="yes" LIBCOB_LIBS="$LIBCOB_LIBS -ldb4"
26005+ fi
26006+
2586626007fi
2586726008
2586826009 fi
0 commit comments