Fix portability:
Fix portability:

1. glob_pattern_p is a glibc thing. As we force -D_GNU_SOURCE in the
   Autoconf stuff, we cannot use this as the check whether
   glob_pattern_p() exists. Use __GLIBC__ instead.

2. FNM_EXTMATCH is available within RPM because of the local fnmatch()
   implementation. But FNM_EXTMATCH is not portable enough, because many
   systems (including BSD) lack it. So, use it conditionally only.

devzero2000/POPT,GerHobbelt/POPT,devzero2000/POPT,GerHobbelt/POPT,flatzo/popt,GerHobbelt/POPT,devzero2000/POPT,flatzo/popt