Changeset 832 in vbox
- Timestamp:
- Feb 12, 2007 11:40:19 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18526
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r818 r832 653 653 # Version 79 was introduced in 9/2005, do we support older versions? 654 654 # Debian/sarge uses 76 655 # OpenSUSE comes with 0.99.xxx where they changed the versioning scheme. 655 656 # 656 657 function check_pam() … … 671 672 { 672 673 printf(", expected version 76 or higher\n"); 674 return 1; 675 } 676 } 677 ' > .tmp_src.cc 678 if test_compile "-lpam" pam pam nofatal; then 679 if test_execute nofatal; then 680 return 0; 681 fi 682 fi 683 test_header linux_pam 684 echo ' 685 #include <cstdio> 686 #include <security/pam_appl.h> 687 extern "C" int main(void) 688 { 689 printf("found version %d.%d", __LINUX_PAM__, __LINUX_PAM_MINOR__); 690 if (__LINUX_PAM__ >= 1) 691 { 692 printf(", OK.\n"); 693 return 0; 694 } 695 else 696 { 697 printf(", expected version 1.0 or higher\n"); 673 698 return 1; 674 699 }
Note:
See TracChangeset
for help on using the changeset viewer.