1@echo off 2rem 3rem Copyright (C) 2000, 2001 Stephen Cleary 4rem 5rem Distributed under the Boost Software License, Version 1.0. (See accompany- 6rem ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 8 9 10rem Check for Windows NT 11if %OS%==Windows_NT goto NT 12 13rem Not NT - run m4 as normal, then exit 14m4 -P -E -DNumberOfArguments=%1 pool_construct.m4 > pool_construct.ipp 15goto end 16 17rem DJGPP programs (including m4) running on Windows/NT do NOT support long 18rem file names (see the DJGPP v2 FAQ, question 8.1) 19rem Note that the output doesn't have to be a short name because it's an 20rem argument to the command shell, not m4. 21:NT 22m4 -P -E -DNumberOfArguments=%1 < pool_construct.m4 > pool_construct.ipp 23 24:end 25