]> git.saurik.com Git - wxWidgets.git/blame - regen
add wrappers to avoid compiling code which will never be used
[wxWidgets.git] / regen
CommitLineData
b12915c1 1#!/bin/sh
e7bcded4
VZ
2#
3# regenerates the file given as command line argument by running config.status
4# (the file is supposed to be generated by configure script)
5#
6# Version: $Id$
7# Author: VZ
8################################################################################
9
10if test "x$1" = "x"; then
11 echo "Usage: $0 file_to_regenerate" >&2
12 exit 1
13fi
14
d497bc65
VZ
15if [ ! -x ./config.status ]; then
16 echo "Must be run from the top level wxWidgets build directory" >&2
17 exit 1
18fi
19
cc65fceb 20CONFIG_FILES=$*
b12915c1
VZ
21CONFIG_HEADERS=
22export CONFIG_FILES CONFIG_HEADERS
e7bcded4
VZ
23./config.status
24exit $?