]> granicus.if.org Git - libatomic_ops/commit
Fix configure to define __PIC__ macro explicitly only if not done by GCC
authorIvan Maidanski <ivmai@mail.ru>
Wed, 28 Mar 2012 03:59:09 +0000 (07:59 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 28 Mar 2012 12:54:27 +0000 (16:54 +0400)
commit058dd113ccd4c2f95d5a7e248bd5d87caa1eb281
tree81e24c113f0009e3fefc215b31d19e183ae0bebc
parent7d21607a26a99c18cac04f553668a46d868a296c
Fix configure to define __PIC__ macro explicitly only if not done by GCC

* configure.ac (PICFLAG): Adjust AC_MSG_CHECKING message; report
"none" result if no -fPIC is needed (for Cygwin/MinGW); determine
whether GCC -fPIC option causes __PIC__ macro definition; pass
-D __PIC__ to PICFLAG (instead of CFLAGS) only if not defined
automatically in case -fPIC specified; update comment.
configure.ac