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