Prev | Current Page 160 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


The _prog_ part of the macro name is optional. If present, it should be the name of the
specific program for which the build is being run. In the preceding example, -lwrap will be
included in only the sendmail program??™s build, but not in any other program??™s build (as, for
example, makemap). By excluding the _prog_ part of the macro name you create a declaration
that affects all programs.
Note that for the mail.local program the _prog_ part can be either mail.local or mail_local
with no difference in effect.
2.7.29 confLIBSEARCH
Automatic library search Build macro
The Build script automatically searches for critical (to sendmail) libraries and, if it finds any,
automatically enables specific compile-time options. The list of libraries searched is in the
internal confLIBSEARCH macro, which defaults to the following list:
db bind resolv 44bsd
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
2.7 Build m4 Macro Reference | 83
The logic is that if a libdb.a or a libdb.so library is found in any of the directories listed with
the confLIBSEARCHPATH macro (?§2.7.30 on page 83), -DNEWDB is automatically* defined
for confENVDEF (?§2.7.14 on page 75).
Then the library that is found first (libbind.a, libbind.so, libresolv.a, or libresolv.so) is added
to the list of libraries in the confLIBS macro (?§2.


Pages:
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
Kąty Rybackie noclegi trener nlp ceny żywca leczenie alkoholizmu Kołobrzeg