Changeset 3979 for zzuf/trunk


Ignore:
Timestamp:
Nov 20, 2009, 6:38:00 PM (10 years ago)
Author:
Sam Hocevar
Message:

Various compilation and unit test fixes.

Location:
zzuf/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/configure.ac

    r3951 r3979  
    2222esac
    2323AC_MSG_RESULT($SONAME)
    24 AC_SUBST(SONAME)
     24AC_DEFINE_UNQUOTED(SONAME, "$SONAME", [Define to the libzzuf full name])
    2525
    2626# Optimizations
  • zzuf/trunk/msvc/config.h

    r3933 r3979  
    2222#define ATTRIBUTE_PRINTF(x,y)
    2323
     24#define HAVE_IO_H 1
     25#define HAVE_PROCESS_H 1
    2426#define HAVE_WINDOWS_H 1
    2527#define HAVE_WINSOCK2_H 1
    26 #define HAVE_IO_H 1
    27 #define HAVE_PROCESS_H 1
    28 
    2928#define HAVE__PIPE
    3029
  • zzuf/trunk/test/check-build

    r3976 r3979  
    44
    55config_h_in=$(dirname "$0")/../config.h.in
    6 win32_config_h=$(dirname "$0")/../win32/config.h
     6msvc_config_h=$(dirname "$0")/../msvc/config.h
    77
    88for key in $(sed -ne 's/.*#undef *\([A-Za-z0-9_]*\).*/\1/p' "$config_h_in");
    99do
    10   if ! grep '[ef] \<'"$key"'\>' "$win32_config_h" >/dev/null 2>&1; then
    11     echo "error: $key missing from win32/config.h"
     10  if ! grep '[ef] \<'"$key"'\>' "$msvc_config_h" >/dev/null 2>&1; then
     11    echo "error: $key missing from msvc/config.h"
    1212    failure=1
    1313  fi
  • zzuf/trunk/test/zznop.c

    r3971 r3979  
    1616
    1717#include <stdio.h>
     18#include <stdlib.h>
    1819
    1920#if defined HAVE_WINDOWS_H
Note: See TracChangeset for help on using the changeset viewer.