⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.cmd

📁 一个开放源代码的 AT&T 的 Korn Shell 的复制品, 支持大多数 ksh89 的特性。
💻 CMD
字号:
@echo offif "%1" == "/h" goto helpif "%1" == "/?" goto helpif "%1" == "-h" goto helpset verbose=noset debug=noset ushell=ksh:parseif "%1" == "/v" goto verboseif "%1" == "-v" goto verboseif "%1" == "/d" goto gdebugif "%1" == "-d" goto gdebugif "%1" == "sh" goto usershif exist os2 goto startecho You are in the wrong directory.  Change to source directory.echo Copy this file and run again or type os2\configure.goto end:verboseset verbose=yesshiftgoto parse:gdebugset debug=yesshiftgoto parse:usershif %verbose% == yes echo Configuring for Bourne shell.set ushell=sh:startif exist conftest.c erase conftest.cif exist confdefs.h erase confdefs.hif %verbose% == yes echo Searching for sed:::::for %%i in (%path%) do if exist %%i\sed.exe goto s_successsed --version && goto s_successecho No sed in search path.  Copying Makefile for gcc. You will needecho to edit it if you are not using standard defaults.copy os2\Makefile Makefilegoto copystuff:helpecho Run os2\configure to set up for os/2 compilation.echo You must have current context in the source directory.echo usage: configure [[/v^|-v][/d^|-d]^|/h^|-h^|/?] [sh]echo        where /v means verbose outputecho              /d means compile with symbols (debug)goto end:s_successif %verbose% == yes echo checking for compilerfor %%i in (%path%) do if exist %%i\gcc.exe goto g_successgcc --version && goto g_successrem for the future we'll use sed processingfor %%i in (%path%) do if exist %%i\bcc.exe goto b_successfor %%i in (%path%) do if exist %%i\icc.exe goto i_successecho Compiler not found. Check your pathgoto end:b_successecho Borland C compiler found.  Configuration not complete forecho this compiler.  You may need to edit the Makefileset CC=bccset CPP=cppgoto createstuff:i_successecho IBM C compiler found.  Configuration not complete forecho this compiler.  You may need to edit the Makefile.set CC=icc -q -Sm -Gm -Gt -Spl -D__STDC__set CPP=cppgoto createstuff:checkshellif %ushell% == sh goto fixshellgoto copystuff:g_successecho GNU C compiler found.  This is the standard configuration.copy os2\Makefile Makefileif %debug% == no goto checkshellset CC=gcc -gset CPP=cpp:createstuffecho Creating files for you.echo s/@CC@/%CC%/> os2\make.tmpecho s/@CPP@/%CPP%/>> os2\make.tmpecho s/@LDFLAGS@/-O/>> os2\make.tmpif %ushell% == ksh goto skipsh:fixshellecho s!/bin/sh!ksh!>> os2\make.tmpecho s/@SHELL_PROG@/sh/>> os2\make.tmp:skipshcopy os2\make.tmp+os2\make.sed os2\make.tmpsed -f os2\make.tmp Makefile.in >  Makefiledel os2\make.tmp:copystuffif %verbose% == yes echo Copying config.h and config.status files. copy os2\config.h config.htouch config.hcopy os2\config.status config.statusif %verbose% == yes echo Checking for os2.c and th.cmd.if not exist os2.c copy os2\os2.c os2.cif not exist th.cmd copy os2\th.cmd th.cmdif %ushell% == ksh goto end if %verbose% == yes echo Fixing config.h for building sh.echo #ifdef KSH>> config.hecho #undef KSH>> config.hecho #undef VI>> config.hecho #undef EMACS>> config.hecho #undef EDIT>> config.hecho #undef COMPLEX_HISTORY>> config.hecho #undef EASY_HISTORY>> config.hecho #undef HISTORY>> config.hecho #undef BRACE_EXPAND>>config.hecho #endif>> config.h:end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -