Juha Heinanen writes:
how can i change MAIN_NAME to sip-router?
i made progress on this one.
if i do
make cfg CFLAGS="-Wall -g" SCTP=1 MAIN_NAME=sip-router CFG_DIR=/etc/sip-router
i get in config.mak:
# this file is autogenerated by make cfg MAIN_NAME= sip-router RELEASE= 2.1.0-dev23-make OS= linux ARCH= i386 C_DEFS= -DNAME='"sip-router"' -DVERSION='"2.1.0-dev23-make"' -DARCH='"i386"' - DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_ linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_R ES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -D HAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE _SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_F UTEX -DHAVE_SELECT -DUSE_SCTP ... CFLAGS= -Wall -g
looks ok, except for
-DCFG_DIR='"/usr/local/etc/ser/"'
why is that not changed?
my suggestion still is that in core, all references to ser are changed to sip-router.
if ok, i can change those that i find.
-- juha