dect
/
asterisk
Archived
13
0
Fork 0

move autoconfig.h to the include/asterisk directory so it will get installed

install asterisk.h include the system's default include directory


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32860 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2006-06-07 19:05:35 +00:00
parent 73c525e6e2
commit cbd3156f72
10 changed files with 10 additions and 11 deletions

View File

@ -635,6 +635,7 @@ bininstall: all
chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
fi
$(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR)
$(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir)
$(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
if [ -n "$(OLDHEADERS)" ]; then \
rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\

1
acl.c
View File

@ -69,7 +69,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/utils.h"
#include "asterisk/lock.h"
#include "asterisk/srv.h"
#include "asterisk/compat.h"
struct ast_ha {
/* Host access rule */

6
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac Revision: 30458 .
# From configure.ac Revision: 32846 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59e.
#
@ -2015,7 +2015,7 @@ test -n "$target_alias" &&
# specify output header file
ac_config_headers="$ac_config_headers include/autoconfig.h"
ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
@ -26855,7 +26855,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"include/autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/autoconfig.h" ;;
"include/asterisk/autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/asterisk/autoconfig.h" ;;
"build_tools/menuselect-deps") CONFIG_FILES="$CONFIG_FILES build_tools/menuselect-deps" ;;
"makeopts") CONFIG_FILES="$CONFIG_FILES makeopts" ;;

View File

@ -17,7 +17,7 @@ AC_CANONICAL_TARGET
AC_CONFIG_SRCDIR([asterisk.c])
# specify output header file
AC_CONFIG_HEADER(include/autoconfig.h)
AC_CONFIG_HEADER(include/asterisk/autoconfig.h)
AC_COPYRIGHT("Asterisk")
AC_REVISION($Revision$)

View File

@ -18,7 +18,7 @@
#ifndef _ASTERISK_H
#define _ASTERISK_H
#include "autoconfig.h"
#include "asterisk/autoconfig.h"
#include "asterisk/compat.h"

View File

@ -1,4 +1,4 @@
/* include/autoconfig.h.in. Generated from configure.ac by autoheader. */
/* include/asterisk/autoconfig.h.in. Generated from configure.ac by autoheader. */
#ifndef ASTERISK_AUTOCONFIG_H
#define ASTERISK_AUTOCONFIG_H

1
pbx.c
View File

@ -58,7 +58,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/musiconhold.h"
#include "asterisk/app.h"
#include "asterisk/devicestate.h"
#include "asterisk/compat.h"
#include "asterisk/stringfields.h"
/*!

View File

@ -1,4 +1,4 @@
#include "autoconfig.h"
#include "asterisk/autoconfig.h"
#include <sys/types.h>
#include <stdio.h>

View File

@ -22,7 +22,7 @@
*
*/
#include "autoconfig.h"
#include "asterisk/autoconfig.h"
#include <newt.h>
#include <stdio.h>

View File

@ -17,7 +17,7 @@
* at the top of the source tree.
*/
#include "autoconfig.h"
#include "asterisk/autoconfig.h"
#include <stdio.h>
#include <popt.h>