bridge_channel_write_frame: Check for NULL channel
[asterisk/asterisk.git] / build_tools / make_defaults_h
1 #!/bin/sh
2 cat << END
3 /*
4  * defaults.h
5  * Automatically generated from build options,
6  * only used in main/asterisk.c
7  */
8 #define DEFAULT_CONFIG_FILE "${INSTALL_PATH}${ASTCONFPATH}"
9
10 #define DEFAULT_CACHE_DIR  "${INSTALL_PATH}${ASTCACHEDIR}"
11 #define DEFAULT_CONFIG_DIR "${INSTALL_PATH}${ASTETCDIR}"
12 #define DEFAULT_MODULE_DIR "${INSTALL_PATH}${ASTMODDIR}"
13 #define DEFAULT_AGI_DIR    "${INSTALL_PATH}${AGI_DIR}"
14 #define DEFAULT_LOG_DIR    "${INSTALL_PATH}${ASTLOGDIR}"
15
16 #define DEFAULT_RUN_DIR    "${INSTALL_PATH}${ASTVARRUNDIR}"
17 #define DEFAULT_SOCKET     "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.ctl"
18 #define DEFAULT_PID        "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.pid"
19
20 #define DEFAULT_VAR_DIR    "${INSTALL_PATH}${ASTVARLIBDIR}"
21 #define DEFAULT_DB         "${INSTALL_PATH}${ASTDBDIR}/astdb"
22
23 #define DEFAULT_DATA_DIR   "${INSTALL_PATH}${ASTDATADIR}"
24 #define DEFAULT_KEY_DIR    "${INSTALL_PATH}${ASTDATADIR}/keys"
25
26 #define DEFAULT_SPOOL_DIR  "${INSTALL_PATH}${ASTSPOOLDIR}"
27 #define DEFAULT_TMP_DIR    "${INSTALL_PATH}${ASTSPOOLDIR}/tmp"
28
29 #define DEFAULT_SBIN_DIR   "${INSTALL_PATH}${ASTSBINDIR}"
30 END