\r
rem This file is part of GNU Emacs.\r
\r
-rem GNU Emacs is free software; you can redistribute it and/or modify\r
+rem GNU Emacs is free software: you can redistribute it and/or modify\r
rem it under the terms of the GNU General Public License as published by\r
-rem the Free Software Foundation; either version 3, or (at your option)\r
-rem any later version.\r
+rem the Free Software Foundation, either version 3 of the License, or\r
+rem (at your option) any later version.\r
\r
rem GNU Emacs is distributed in the hope that it will be useful,\r
rem but WITHOUT ANY WARRANTY; without even the implied warranty of\r
rem GNU General Public License for more details.\r
\r
rem You should have received a copy of the GNU General Public License\r
-rem along with GNU Emacs; see the file COPYING. If not, write to the\r
-rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\r
-rem Boston, MA 02110-1301, USA.\r
+rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/.\r
+\r
rem ----------------------------------------------------------------------\r
rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS:\r
rem\r
set doldflags=\r
set sep1=\r
set sep2=\r
-set usefontbackend=Y\r
\r
rem ----------------------------------------------------------------------\r
rem Handle arguments.\r
if "%1" == "--without-gif" goto withoutgif\r
if "%1" == "--without-tiff" goto withouttiff\r
if "%1" == "--without-xpm" goto withoutxpm\r
-if "%1" == "--disable-font-backend" goto withoutfont\r
if "%1" == "" goto checkutils\r
:usage\r
echo Usage: configure [options]\r
echo. --without-gif do not use GIF library even if it is installed\r
echo. --without-tiff do not use TIFF library even if it is installed\r
echo. --without-xpm do not use XPM library even if it is installed\r
-echo. --disable-font-backend build without font backend support\r
goto end\r
rem ----------------------------------------------------------------------\r
:setprefix\r
shift\r
goto again\r
\r
-:withoutfont\r
-set usefontbackend=N\r
-shift\r
-goto again\r
-\r
rem ----------------------------------------------------------------------\r
rem Check that necessary utilities (cp and rm) are present.\r
:checkutils\r
if (%docflags%)==(Y) echo USER_CFLAGS=%usercflags%>>config.settings\r
for %%v in (%userldflags%) do if not (%%v)==() set doldflags=Y\r
if (%doldflags%)==(Y) echo USER_LDFLAGS=%userldflags%>>config.settings\r
-if (%usefontbackend%) == (Y) echo USE_FONTBACKEND=1 >>config.settings\r
echo # End of settings from configure.bat>>config.settings\r
echo. >>config.settings\r
\r