Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-11-07 04:19:52 +0400
committerChristopher Faylor <me@cgf.cx>2013-11-07 04:19:52 +0400
commit2a6d6db8e2dbe21e3d9c66ea3ed3447c46d48a0a (patch)
treebe0ba66fb4b1ac325a9208c6888c2677ff6f0cbb /winsup/utils/configure
parent01eddfd7b2533414a3597aecfb935397ed41de42 (diff)
winsup/ChangeLog:
2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. * configure.cygwin: Default to '.' if can't find a winsup directory. winsup/cygserver/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. winsup/cygwin/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. winsup/utils/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate.
Diffstat (limited to 'winsup/utils/configure')
-rwxr-xr-xwinsup/utils/configure59
1 files changed, 30 insertions, 29 deletions
diff --git a/winsup/utils/configure b/winsup/utils/configure
index 76432e743..7e524e279 100755
--- a/winsup/utils/configure
+++ b/winsup/utils/configure
@@ -596,6 +596,7 @@ windows_headers
ac_ct_CXX
CXXFLAGS
CXX
+windows_libdir
OBJEXT
EXEEXT
ac_ct_CC
@@ -615,7 +616,6 @@ build_os
build_vendor
build_cpu
build
-windows_libdir
target_alias
host_alias
build_alias
@@ -1845,34 +1845,6 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
. ${srcdir}/../configure.cygwin
-
-
-# Check whether --with-windows-headers was given.
-if test "${with_windows_headers+set}" = set; then :
- withval=$with_windows_headers; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-headers" "$LINENO" 5
-
-fi
-
-
-
-
-# Check whether --with-windows-libs was given.
-if test "${with_windows_libs+set}" = set; then :
- withval=$with_windows_libs; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-libs" "$LINENO" 5
-
-fi
-
-windows_libdir=$(realdirpath "$with_windows_libs")
-if test -z "$windows_libdir"; then
- windows_libdir=$(realdirpath $(${ac_cv_prog_CC:-$CC} -xc /dev/null -Wl,--verbose=1 -lntdll 2>&1 | sed -rn 's%^.*\s(\S+)/libntdll\..*succeeded%\1%p'))
- if test -z "$windows_libdir"; then
- as_fn_error $? "cannot find windows library files" "$LINENO" 5
- fi
-fi
-
-
-
-
# Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
@@ -2850,6 +2822,35 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+# Check whether --with-windows-headers was given.
+if test "${with_windows_headers+set}" = set; then :
+ withval=$with_windows_headers; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-headers" "$LINENO" 5
+
+fi
+
+
+
+
+# Check whether --with-windows-libs was given.
+if test "${with_windows_libs+set}" = set; then :
+ withval=$with_windows_libs; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-libs" "$LINENO" 5
+
+fi
+
+windows_libdir=$(realdirpath "$with_windows_libs")
+if test -z "$windows_libdir"; then
+ windows_libdir=$(realdirpath $(${ac_cv_prog_CC:-$CC} -xc /dev/null -Wl,--verbose=1 -lntdll 2>&1 | sed -rn 's%^.*\s(\S+)/libntdll\..*succeeded%\1%p'))
+ if test -z "$windows_libdir"; then
+ as_fn_error $? "cannot find windows library files" "$LINENO" 5
+ fi
+fi
+
+
+
+
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'