- Timestamp:
- Jan 9, 2018 5:06:01 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120112
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r69500 r70497 1767 1767 else 1768 1768 if test_execute; then 1769 cat > $ODIR.tmp_src.c << EOF 1770 #include <linux/version.h> 1771 int printf(const char *format, ...); 1772 int main(void) 1773 { 1774 return LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0) ? 1 : 0; 1775 } 1776 EOF 1777 echo "compiling the following source file:" >> $LOG 1778 cat $ODIR.tmp_src.c >> $LOG 1779 echo "using the following command line:" >> $LOG 1780 echo "$CC -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.c -nostdinc -I$LINUX/include " \ 1781 "-I$LINUX/include/generated/uapi" >> $LOG 1782 $CC -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.c -nostdinc -I$LINUX/include \ 1783 -I$LINUX/include/generated/uapi >> $LOG 2>&1 1784 if [ $? -eq 0 ]; then 1785 $ODIR.tmp_out 1786 if [ $? -ne 0 ]; then 1787 cnf_append "VBOX_WITH_VBOXDRV" "" 1788 cnf_append "VBOX_WITH_ADDITION_DRIVERS" "" 1789 echo "Detected Linux >= 4.8 -- disabling compiling of Linux kernel modules." 1790 else 1791 cnf_append "VBOX_LINUX_SRC" "`cd $LINUX ; pwd`" 1792 fi 1793 fi 1769 cnf_append "VBOX_LINUX_SRC" "`cd $LINUX ; pwd`" 1794 1770 fi 1795 1771 fi … … 2823 2799 else 2824 2800 cnf_append "VBOX_LINUX_SRC" "" 2825 cnf_append "VBOX_WITH_VBOXDRV" "" 2826 cnf_append "VBOX_WITH_ADDITION_DRIVERS" "" 2801 cnf_append "VBOX_WITHOUT_LINUX_TEST_BUILDS" "1" 2827 2802 fi 2828 2803 if [ $ONLY_ADDITIONS -eq 0 ]; then
Note:
See TracChangeset
for help on using the changeset viewer.