Ticket #19042: aiccu_conf.patch

File aiccu_conf.patch, 862 bytes (added by cr@…, 16 years ago)

files/aiccu_conf.patch

  • common/aiccu.h

    old new  
    7575/* GetWindowsDirectory() is used to figure out the directory to store the config */
    7676#define AICCU_CONFIG    "aiccu.conf"
    7777#else
    78 #define AICCU_CONFIG    "/etc/aiccu.conf"
     78#define as_string(x)    #x
     79#define AICCU_CONFIG    MPPREFIX "/etc/aiccu.conf"
    7980#endif
    8081
    8182/* Inbound listen queue */
  • unix-console/Makefile

    old new  
    115115
    116116# Darwin
    117117ifeq ($(shell uname | grep -c "Darwin"),1)
    118 CFLAGS  += -D_DARWIN -D NEED_IFHEAD -D AICCU_TYPE="\"darwin\""
     118CFLAGS  += -D_DARWIN -D NEED_IFHEAD -D AICCU_TYPE="\"darwin\"" -D MPPREFIX="\"${MPPREFIX}\""
    119119SRCS    += ../common/aiccu_darwin.c
    120120OBJS    += ../common/aiccu_darwin.o
    121121LDFLAGS += -lresolv