Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
112dc8e1
Commit
112dc8e1
authored
May 06, 2004
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use -mno-cygwin to check for image libraries when needed.
parent
4c174fb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
nt/ChangeLog
nt/ChangeLog
+5
-0
nt/configure.bat
nt/configure.bat
+13
-5
No files found.
nt/ChangeLog
View file @
112dc8e1
2004-05-06 Jason Rumney <jasonr@gnu.org>
* configure.bat: Use -mno-cygwin to check for image libraries
when needed.
2004-05-03 Jason Rumney <jasonr@gnu.org>
* makefile.nt, ebuild.bat, install.bat, fast-install.bat:
...
...
nt/configure.bat
View file @
112dc8e1
...
...
@@ -294,13 +294,20 @@ rem Check for external image libraries. Since they are loaded
rem dynamically, the libraries themselves do not need to be present
rem at compile time, but the header files are required.
set
mingwflag
=
if
(
%nocygwin%
)
==
(
N
)
goto
flagsOK
set
mingwflag
=
-mno-cygwin
:flagsOK
if
(
%pngsupport%
)
==
(
N
)
goto
pngDone
echo
Checking
for
libpng
...
echo
#include
"png.h"
>
junk
.c
echo
main
(){}
>>
junk
.c
rem -o option is ignored with cl, but allows result to be consistent.
%COMPILER%
%usercflags%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
%COMPILER%
%usercflags%
%mingwflag%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
if
exist
junk
.obj
goto
havePng
echo
...png.h
not
found
,
building
without
PNG
support
.
...
...
@@ -320,7 +327,7 @@ echo Checking for jpeg-6b...
echo
#include
"jconfig.h"
>
junk
.c
echo
main
(){}
>>
junk
.c
rem -o option is ignored with cl, but allows result to be consistent.
%COMPILER%
%usercflags%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
%COMPILER%
%usercflags%
%mingwflag%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
if
exist
junk
.obj
goto
haveJpeg
echo
...jconfig.h
not
found
,
building
without
JPEG
support
.
...
...
@@ -340,7 +347,7 @@ echo Checking for libgif...
echo
#include
"gif_lib.h"
>
junk
.c
echo
main
(){}
>>
junk
.c
rem -o option is ignored with cl, but allows result to be consistent.
%COMPILER%
%usercflags%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
%COMPILER%
%usercflags%
%mingwflag%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
if
exist
junk
.obj
goto
haveGif
echo
...gif_lib.h
not
found
,
building
without
GIF
support
.
...
...
@@ -360,7 +367,7 @@ echo Checking for tiff...
echo
#include
"tiffio.h"
>
junk
.c
echo
main
(){}
>>
junk
.c
rem -o option is ignored with cl, but allows result to be consistent.
%COMPILER%
%usercflags%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
%COMPILER%
%usercflags%
%mingwflag%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
if
exist
junk
.obj
goto
haveTiff
echo
...tiffio.h
not
found
,
building
without
TIFF
support
.
...
...
@@ -381,7 +388,7 @@ echo #define FOR_MSW 1 >junk.c
echo
#include
"X11/xpm.h"
>>
junk
.c
echo
main
(){}
>>
junk
.c
rem -o option is ignored with cl, but allows result to be consistent.
%COMPILER%
%usercflags%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
%COMPILER%
%usercflags%
%mingwflag%
-c
junk
.c
-o
junk
.obj
>
junk
.out
2
>
junk
.err
if
exist
junk
.obj
goto
haveXpm
echo
...X11/xpm.h
not
found
,
building
without
XPM
support
.
...
...
@@ -466,6 +473,7 @@ set COMPILER=
set MAKECMD=
set usercflags=
set userldflags=
set mingwflag=
goto skipArchTag
arch-tag: 300d20a4-1675-4e75-b615-7ce1a8c5376c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment