Skip to content
Snippets Groups Projects
Commit 4245248d authored by chrfranke's avatar chrfranke
Browse files

configure.in: Change configure date syntax.

Add message to '-mno-cygwin' option check.


git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2927 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 8314f090
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[CF] configure.in: Change configure date syntax.
Add message to '-mno-cygwin' option check.
[GK] Add names for some attributes used in MLC flash drives:
175, 176, 177, 181, 182
......
......@@ -6,7 +6,7 @@ AC_PREREQ(2.50)
AC_INIT(smartmontools, 5.39, smartmontools-support@lists.sourceforge.net)
AC_CONFIG_SRCDIR(smartctl.cpp)
smartmontools_configure_date=`date -u +"%Y/%m/%d %T %Z"`
smartmontools_configure_date=`date -u +'%Y-%m-%d %T %Z'`
smartmontools_cvs_tag=`echo '$Id$'`
smartmontools_release_date=2008/03/10
smartmontools_release_time="10:44:07 GMT"
......@@ -38,13 +38,18 @@ case "${host}" in
# to select MinGW gcc. This does no longer work for gcc 4.x.
if test "${build}" = "${host}" && test -x /usr/bin/uname && \
/usr/bin/uname | grep -i '^CYGWIN' >/dev/null; then
AC_MSG_CHECKING([whether C and C++ compiler support -mno-cygwin])
gcc_support_m_no_cygwin=no
if $CC -v -mno-cygwin >/dev/null 2>&1 && \
$CXX -v -mno-cygwin >/dev/null 2>&1; then
CPPFLAGS="$CPPFLAGS -mno-cygwin"
LDFLAGS="$LDFLAGS -mno-cygwin"
else
gcc_support_m_no_cygwin=yes
fi
AC_MSG_RESULT([$gcc_support_m_no_cygwin])
if test "$gcc_support_m_no_cygwin" != "yes"; then
AC_MSG_ERROR([$CC and $CXX do not support -mno-cygwin, see INSTALL file for details.])
fi
CPPFLAGS="$CPPFLAGS -mno-cygwin"
LDFLAGS="$LDFLAGS -mno-cygwin"
fi
CPPFLAGS="$CPPFLAGS -idirafter ${srcdir}/posix -idirafter ${srcdir}/os_win32"
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment