Merge pull request #4860 from mitza-oci/enum-replacement
[OpenDDS.git] / configure.cmd
blob13568546a1b499a67766e83d8047e900f107472d
1 @echo off
2 :: Win32 configure script wrapper for OpenDDS
3 :: Distributed under the OpenDDS License.
4 :: See: http://www.opendds.org/license.html
6 for %%x in (perl.exe) do set PERLPATH=%%~dp$PATH:x
7 if "x%PERLPATH%"=="x" (
8 echo ERROR: perl.exe was not found. This script requires Perl.
9 exit /b 1
11 set PERLPATH=
12 perl configure %*
13 if %ERRORLEVEL% NEQ 0 (
14 echo ERROR: configure failed with errorcode %errorlevel%
15 exit /b %errorlevel%
17 if exist setenv.cmd call setenv.cmd