mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS
This way we can make use of it in other components as well, and it fits better with the rest of the build system. Discussion: https://www.postgresql.org/message-id/flat/72fff73f-dc9c-4ef4-83e8-d2e60c98df48%402ndquadrant.com
This commit is contained in:
13
configure
vendored
13
configure
vendored
@ -15505,6 +15505,19 @@ esac
|
||||
|
||||
fi
|
||||
|
||||
ac_fn_c_check_func "$LINENO" "link" "ac_cv_func_link"
|
||||
if test "x$ac_cv_func_link" = xyes; then :
|
||||
$as_echo "#define HAVE_LINK 1" >>confdefs.h
|
||||
|
||||
else
|
||||
case " $LIBOBJS " in
|
||||
*" link.$ac_objext "* ) ;;
|
||||
*) LIBOBJS="$LIBOBJS link.$ac_objext"
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
|
||||
ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
|
||||
if test "x$ac_cv_func_mkdtemp" = xyes; then :
|
||||
$as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h
|
||||
|
Reference in New Issue
Block a user