[asterisk-bugs] [Asterisk 0014224]: [patch] fixes for autoconf 2.63 and ptlib-devel (Fedora 10)

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 11 03:16:58 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14224 
====================================================================== 
Reported By:                bergolth
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   14224
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-12 17:01 CST
Last Modified:              2009-02-11 03:16 CST
====================================================================== 
Summary:                    [patch] fixes for autoconf 2.63 and ptlib-devel
(Fedora 10)
Description: 
autoconf 2.62 renamed _AC_PATH_PROGS_FEATURE_CHECK to
_AC_PATH_PROG_FEATURE_CHECK and introduced AC_PATH_PROGS_FEATURE_CHECK.

Moreover Fedora 10 replaced pwlib-devel with ptlib-devel. ptlib-config now
resides in /usr/share/ptlib/make instead of /usr/share/pwlib/make. (But
there is also a link in /usr/bin).

Unfortunately, an option to ptlib-config also changed:
  /usr/bin/ptlib-config --pwlibdir
... is now:
  /usr/bin/ptlib-config --ptlibdir

The attached patch (against asterisk-1.4.22.1) tries to address those
problems.

====================================================================== 

---------------------------------------------------------------------- 
 (0099870) bergolth (reporter) - 2009-02-11 03:16
 http://bugs.digium.com/view.php?id=14224#c99870 
---------------------------------------------------------------------- 
Maybe the ptbuildopts and typedef-block should be moved to a separate
header file like ast_ptlib.h:

----------------------------------------
#ifndef AST_PTLIB_H
#define AST_PTLIB_H

#include <ptbuildopts.h>
#if ! defined(P_USE_STANDARD_CXX_BOOL) && !defined(P_USE_INTEGER_BOOL)
typedef BOOL PBoolean;
#define PTrue TRUE
#define PFalse FALSE
#endif

#endif /* !defined AST_PTLIB_H */
----------------------------------------

This one could be easily included by other files without duplicating the
logic. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-11 03:16 bergolth       Note Added: 0099870                          
======================================================================




More information about the asterisk-bugs mailing list