X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=c%2B%2B%2Fedit_cfg.sh;h=73c31b274ed38cead1f3c0f35f509898120d6b27;hp=e0c182257d54a8dec39e5a650ec4013a584e3d79;hb=6c611e66965f5a8fb1a6696611f18441132852a2;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/c++/edit_cfg.sh b/c++/edit_cfg.sh index e0c18225..73c31b27 100755 --- a/c++/edit_cfg.sh +++ b/c++/edit_cfg.sh @@ -1,7 +1,7 @@ #!/bin/sh -# $Id: edit_cfg.sh,v 1.12 2001/12/08 20:44:59 tom Exp $ +# $Id: edit_cfg.sh,v 1.17 2008/08/30 19:44:25 tom Exp $ ############################################################################## -# Copyright (c) 1998,2000,2001 Free Software Foundation, Inc. # +# Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -28,7 +28,7 @@ # authorization. # ############################################################################## # -# Author: Thomas E. Dickey 1997 +# Author: Thomas E. Dickey 1997-on # # Edit the default value of the etip.h file based on the autoconf-generated # values: @@ -39,17 +39,18 @@ echo "substituting autoconf'd values from $1 into $2" for name in \ CPP_HAS_PARAM_INIT \ + CPP_HAS_STATIC_CAST \ ETIP_NEEDS_MATH_EXCEPTION \ ETIP_NEEDS_MATH_H \ HAVE_BUILTIN_H \ HAVE_GPP_BUILTIN_H \ HAVE_GXX_BUILTIN_H \ - HAVE_STRSTREAM_H \ + HAVE_IOSTREAM \ HAVE_TYPEINFO \ HAVE_VALUES_H \ - USE_STRSTREAM_VSCAN \ - USE_STRSTREAM_VSCAN_CAST + IOSTREAM_NAMESPACE do + rm -f $2.bak mv $2 $2.bak if ( grep "[ ]$name[ ]1" $1 2>&1 >/dev/null) then