On a stop at Elmendorf Air Force Base in Alaska on his way to Asia , Obama told a military audience he will commit more forces to Afghanistan only if it is vital to U.S. interests and receives public support .