1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: keep old config.h unless changed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-02-06 08:25:00 +00:00
parent d77119bfe4
commit 65806ccb72
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Wed Feb 6 17:18:54 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* configure.in: keep old config.h unless changed.
Wed Feb 6 13:28:53 2002 Amos Gouaux <amos+ruby@utdallas.edu> Wed Feb 6 13:28:53 2002 Amos Gouaux <amos+ruby@utdallas.edu>
* lib/net/imap.rb: OpenSSL support. * lib/net/imap.rb: OpenSSL support.

View file

@ -1093,8 +1093,12 @@ if test "$search_path" != ""; then
AC_DEFINE_UNQUOTED(RUBY_SEARCH_PATH,"$search_path") AC_DEFINE_UNQUOTED(RUBY_SEARCH_PATH,"$search_path")
fi fi
echo "creating config.h" if test -f config.h && tr -d '\015' < confdefs.h | cmp -s config.h -; then
tr -d '\015' < confdefs.h > config.h echo "config.h unchanged"
else
echo "creating config.h"
tr -d '\015' < confdefs.h > config.h
fi
: > confdefs.h : > confdefs.h
AC_OUTPUT($FIRSTMAKEFILE Makefile ext/extmk.rb) AC_OUTPUT($FIRSTMAKEFILE Makefile ext/extmk.rb)