Commit e1b747ff authored by Eric Petit's avatar Eric Petit
Browse files

Cygwin fixes


git-svn-id: svn://svn.videolan.org/x264/trunk@195 df754926-b1dd-0310-bc7b-ec298dee348c
parent b7c3b444
...@@ -26,6 +26,12 @@ case "$UNAMES" in ...@@ -26,6 +26,12 @@ case "$UNAMES" in
CFLAGS="$CFLAGS -DHAVE_MALLOC_H" CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
LDFLAGS="$LDFLAGS -lm" LDFLAGS="$LDFLAGS -lm"
;; ;;
CYGWIN*)
SYS="CYGWIN"
CFLAGS="$CFLAGS -mno-cygwin"
LDFLAGS="$LDFLAGS -mno-cygwin"
ASFLAGS="-f win32 -DPREFIX"
;;
*) *)
echo "Unknown system $UNAMES, edit the configure" echo "Unknown system $UNAMES, edit the configure"
exit 1 exit 1
......
#!/bin/sh #!/bin/sh
VER=`svnversion .` VER=`svnversion .`
if [[ $VER && $VER != exported ]] if [ "x$VER" != x -a "$VER" != exported ]
then echo "#define X264_VERSION \" svn-$VER\"" > config.h then
else echo "#define X264_VERSION \"\"" > config.h echo "#define X264_VERSION \" svn-$VER\"" > config.h
else
echo "#define X264_VERSION \"\"" > config.h
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment